Deliverable 7 of #49. Producer-side multi-module emission matching the verifier's existing multi-module coverage.
Scope
- Emit shared-schema regions across modules + the
typedwasm.region-imports carrier.
- Note: that carrier is proposal 0003
[draft] (docs/proposals/0003-region-imports-carrier.adoc), currently gated on exactly this producer-side multi-module emission. Landing D7 is its unblock; if implementation surfaces a wire gap, file a proposal-0003 amendment rather than improvising.
- Field-IDs must be shared-schema-stable across modules — an importer's
field_id numbering must match the exporter's (per the coordination note in docs/developer/handoff-typed-access-sites-codegen.adoc). A per-module counter will fail the cross-module case.
Acceptance
examples/02-multi-module.twasm round-trips: tw build → .wasm accepted by verify_cross_module.
- A cross-module fixture lands in
crates/typed-wasm-verify/tests/fixtures/c5_real/.
Dependencies
- Blocked by the single-module codegen path (F / D1).
Cross-refs
Deliverable: Phase 1 / deliverable 7 (docs/PRODUCTION-PATH.adoc §Phase 1). Part of #49.
Deliverable 7 of #49. Producer-side multi-module emission matching the verifier's existing multi-module coverage.
Scope
typedwasm.region-importscarrier.[draft](docs/proposals/0003-region-imports-carrier.adoc), currently gated on exactly this producer-side multi-module emission. Landing D7 is its unblock; if implementation surfaces a wire gap, file a proposal-0003 amendment rather than improvising.field_idnumbering must match the exporter's (per the coordination note indocs/developer/handoff-typed-access-sites-codegen.adoc). A per-module counter will fail the cross-module case.Acceptance
examples/02-multi-module.twasmround-trips:tw build→.wasmaccepted byverify_cross_module.crates/typed-wasm-verify/tests/fixtures/c5_real/.Dependencies
Cross-refs
verify_cross_module;MultiModule.idrno-spoofing theorem.Deliverable: Phase 1 / deliverable 7 (
docs/PRODUCTION-PATH.adoc§Phase 1). Part of #49.