S0144: unknown extern ABI
Generated from rellum-diagnostics/src/db.rs.
Explanation
An extern block declares functions from another binary interface. This milestone only supports the C ABI, written as extern "C" { ... }.
Common causes
- using an ABI string other than C
- misspelling the ABI name
- copying an ABI form from another language or platform that Rellum does not support yet
Canonical fixes
- use the supported C ABI
Before:
extern "stdcall" { fn f() : Unit }
After:
extern "C" { fn f() : Unit }
Code example
extern "stdcall" { fn f() : Unit }