Mod-level Extern not Standard v0.3
Platform spec ADR
Mod-level Extern not Standard v0.3
Spec standingStandard
- Contract import syntax How extern contracts declare foreign imports and map to symbols and call shapes.
- Extern attribute schema Normative Extern and per-method interop attributes for contract imports (v0.3).
- FFI and extern — Verification and traceability Conformance strategy for v0.3 FFI spec (fixtures, diagnostics, ignored runtime tests).
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”Header-style Extern on mod was considered for v0.3 but increases parser and ABI ambiguity.
Decision
Section titled “Decision”Extern on mod is not part of v0.3 Standard. Authors must use contract blocks with method signatures ending in ;.
Consequences
Section titled “Consequences”Future promotion requires a dedicated ADR and profile conformance tests.
Verification anchors
Section titled “Verification anchors”/platform-spec/language-meta/interop/ffi-and-extern/ v0.3 scope section.