Repository navigation
fix: stabilize linker outputs, test cleanup, and Darwin pipes - #574
Merged
Merged
Conversation
Resolve wavefnd#572 by keeping the entry symbol semantic until linker selection. Cover MSVC, ELF, Darwin, WebAssembly and explicit compiler/linker paths, and verify both MSVC COFF targets link. Signed-off-by: LunaStev <[email protected]>
Resolve wavefnd#536 by staging named DLL, import library and debug outputs together. Honor explicit companion paths, preserve embedded DLL/PDB names, and restore previous artifacts on publication failure. Cover exported DLL consumption for amd64 and ARM64, failed replacement, and native ARM64 CI execution. Signed-off-by: LunaStev <[email protected]>
Resolve wavefnd#563 by selecting comment syntax from the effective compiler target. Cover AArch64 ELF, COFF and Mach-O immediates and comments while retaining x86, RISC-V and LoongArch literal matching. Signed-off-by: LunaStev <[email protected]>
Address wavefnd#507 by owning each test in a POSIX session or Windows Job Object and retaining timeout diagnostics. Exercise descendant cleanup through the corpus and cases runners, including native Windows CI. Signed-off-by: LunaStev <[email protected]>
Address wavefnd#570 by capturing x0/x1 on ARM64 and rax/rdx on amd64, publishing the descriptor pair only on success. Check return registers across both Darwin backends and execute the guarded kqueue streaming regression on native macOS. Signed-off-by: LunaStev <[email protected]>
Prepare wavefnd#493 diagnosis with no-import and existing failure inputs, separate GNU/MSVC IR/object probes, bounded LLDB backtraces, and retained release symbols. Add finer module-construction trace points without changing lowering behavior; the native access violation still requires a runner trace before choosing a fix. Signed-off-by: LunaStev <[email protected]>
This was referenced Sep 11, 2026
Open
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.
Summary
Fix linker argument handling and companion output publication, preserve AArch64 assembly immediates in test contracts, clean up generated test processes, and collect both Darwin pipe return descriptors. The fixes are separated into issue-specific commits.
Motivation
For #493, add finer module-construction tracing, a minimal no-import input, explicit GNU/MSVC IR and object probes, and bounded native LLDB stack collection with release symbols. The native Windows ARM64 access violation still requires a runner trace before selecting a root-cause fix; this PR does not close that issue.
Target and compatibility impact
Entry options follow the selected native, compiler-driver, MSVC, or WebAssembly linker dialect. MSVC images and companion outputs retain their final basenames. Test cleanup uses POSIX process groups or Windows Job Objects. Darwin ARM64 and amd64 pipe wrappers return zero and store both descriptors on success, or return a negative error without publishing a pair.
The existing macOS streaming workload remains enabled and is also exercised by the Rust regression on either native macOS architecture. No language syntax changes are introduced.
Validation
Passed locally on Linux:
cargo fmt --all --check./tools/check_std_policy.shcargo clippy --locked --workspace --all-targets --jobs 2 -- -D warningsRUSTDOCFLAGS="-D warnings" cargo doc --locked --workspace --no-deps --jobs 2cargo build --locked --release --jobs 2cargo test --locked --workspace --all-targets --jobs 2: 191 passed.python3 -m unittest tools.test_case_manifest tools.test_test_contracts tools.test_run_tests tools.test_process_tree: 32 passed; one native Windows test excluded on Linux.python3 tools/check_wave_corpus.py --wavec target/release/wavec --run-std-examples: 276 corpus checks and 26 std example executions passed.git diff --check.Targeted regressions reproduced the entry, MSVC companion, assembly-immediate, descendant-cleanup, and Darwin return-register defects before their fixes. Both Darwin targets emit Mach-O objects. ARM64 GNU/MSVC IR and object probes pass when cross compiled on Linux. Native macOS and Windows verification is pending CI.
Checklist
Signed-off-byline.std/.