Skip to content
Beskid Platform specification

Beskid

Jump to a Beskid service

Beskid

Jump to a Beskid service

Hard ABI version check before user code

Platform spec ADR

Hard ABI version check before user code

Spec standingStandard

Owner
Piotr Mikstacki
Submitter
Piotr Mikstacki

JIT and CLI hosts may load a beskid_runtime artifact built separately from the active compiler. Without an explicit version gate, stale toolchains call builtins with wrong layouts or missing symbols.

RuleDetail
Version surfacebeskid_runtime_abi_version() returns BESKID_RUNTIME_ABI_VERSION (u32 in beskid_abi)
Host checkHosts should fail before user main when runtime version ≠ compiler-embedded constant (ABI-003)
DiagnosticsFailure messages must name both integers and recommend aligning CLI/VSIX/runtime release sets

Release matrices document paired compiler/runtime builds. Conformance should assert version parity in JIT smoke tests (beskid_tests runtime/jit).

compiler/crates/beskid_abi/src/version.rs; beskid_engine JIT module setup; ABI-001ABI-003 in contracts and edge cases.