Repository navigation
Add native C ABI interoperability and protect build artifacts - #161
Merged
Merged
Conversation
Signed-off-by: LunaStev <luna@lunastev.org>
Signed-off-by: LunaStev <luna@lunastev.org>
This was referenced Oct 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Vex can now link prebuilt C ABI inputs from C, C++, and Rust and emit Wave objects or shared libraries for native consumers. Build output validation also prevents overwriting unowned or edited files, verifies promised artifacts, and preserves the original compiler failure when ownership bookkeeping fails.
Changes
native.exportsfor Windows DLL C symbols; reject empty lists for Windows shared builds and preserve DLL/import-library pairs on failed export linking.zipto 9.0.4 to resolve RUSTSEC-2026-0367/0368/0369, handle its fallible entry-name API, and regenerate locked dependency notices.nativemanifest configuration with target-specific inputs, package-local library lookup, and ordered transitive linking. Library packages default to object output; object/shared artifacts use package, target, and profile names.Compatibility and scope
Uses the published Wave
v0.2.1-pre-betacontract. This covers prebuilt C ABI inputs and object/shared outputs; foreign-language build hooks, binding generation, and static-library creation are outside this change. Imported Wave packages use explicitextern(c, "symbol")declarations for compatibility with that compiler release. Existing untracked outputs must be moved before Vex may overwrite them.Validation
python3 x.py check: formatting, 38 Python tests, workspace Rust tests (one subprocess fixture intentionally ignored), Clippy with warnings denied, and workspace build passed.git diff --checkpassed.Closes #159
Closes #160
Related to #46, #47, and #54; their broader target/profile requirements remain open.