Skip to content
Beskid Platform specification

Beskid

Jump to a Beskid service

Beskid

Jump to a Beskid service

BUILTIN_SPECS is sole Cranelift import source

Platform spec ADR

BUILTIN_SPECS is sole Cranelift import source

Spec standingStandard

Owner
Piotr Mikstacki
Submitter
Piotr Mikstacki

Hand-written Cranelift calls bypass the shared ABI catalog and desynchronize JIT, AOT, and runtime extern "C-unwind" implementations.

RuleDetail
CatalogBUILTIN_SPECS in beskid_abi::builtins is the sole source of Cranelift import signatures (ABI-002)
Codegendeclare_builtin_imports builds FuncIds only from specs
Diverging builtinsAbiReturnKind::Never for panic so unreachable blocks are correct
ParitySymbol strings in specs must match RUNTIME_EXPORT_SYMBOLS entries (ABI-001)

New builtins require spec, BUILTIN_SPECS, symbols.rs, and beskid_runtime::builtins in one change set.

compiler/crates/beskid_codegen; compiler/crates/beskid_abi/src/builtins.rs.