User export distinct from runtime builtins
Platform spec ADR
User export distinct from runtime builtins
Spec standingStandard
- Callback registration Host registration table protocol for Beskid exports invoked from foreign code (v0.3).
- Export attribute Normative Export metadata for pub functions exposed to foreign hosts (v0.3).
- Export and callbacks — Verification and traceability Conformance fixtures for Export and callback registration (v0.3).
0 revisions (git unavailable at build; counts may be empty)
No commits recorded for this path.
Full tree: run pnpm verify:platform-spec-layout (writes src/generated/platform-spec-layout-report.json).
Context
Section titled “Context”Plugin authors confused generated exports with frozen JIT builtin tables.
Decision
Section titled “Decision”User export symbols are generated from Beskid compilation units. Frozen runtime builtin exports remain on beskid_abi / Rust ABI profile — export-only work must not change BESKID_RUNTIME_ABI_VERSION.
Consequences
Section titled “Consequences”Codegen plans export metadata beside ExternImport; trampolines use runtime TLS hooks.
Verification anchors
Section titled “Verification anchors”/platform-spec/language-meta/interop/export-and-callbacks/ implementation anchors.