You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support manifest-owned freestanding and PIC settings for object libraries #180
Planned for v0.0.3-beta; reviewed against master cd13f1d9c244cfdb207f38412db6c513bd5fd543.
Whale builds Wave modules as freestanding, position-independent objects. Vex exposes object/shared libraries, but library declarations do not accept platform mode and PIC is currently selected automatically for shared output only.
Acceptance:
Add typed manifest-owned configuration for object-library freestanding/hosted mode and relocation model, including PIC, without arbitrary wavec flag passthrough.
Define profile/platform override precedence and keep executable entry/startup/linker-script settings distinct from object code generation.
Validate combinations against the selected compiler/target contract before compilation. Do not assume a native ELF capability applies to COFF, Mach-O or Wasm.
Carry effective settings through check, dry-run plans, metadata/results, compiler invocation and freshness keys. Changes must invalidate reuse.
Preserve existing manifest defaults and output kinds, with an explicit schema change if required.
Test plan rejection and actual O0/O2 Wave objects linked into C/Rust callers, including shared-link use proving PIC and a freestanding fixture proving the intended runtime dependencies.
Follow-up to #54/#48/#159; their existing binary modes, profiles and C ABI interoperability are not reimplemented here. Static archive construction is a separate issue.
Activity