Repository navigation
Fix pre-release compiler, runtime validation and packaging regressions - #1135
Merged
LunaStev merged 6 commits intoNov 28, 2026
Merged
Conversation
Refs wavefnd#1110 and wavefnd#1111. Signed-off-by: LunaStev <luna@lunastev.org>
Reject writes into string literals, check variant payload capacity and reuse nonescaping aggregate temporaries. Preserve zero for signed MIN remainder negative one and evaluate compound operands once. Refs wavefnd#1094, wavefnd#1107, wavefnd#1112 and wavefnd#1125. Signed-off-by: LunaStev <luna@lunastev.org>
Pass declared stdin and compare actual program exits. Check the report target and shard, preserve physical metadata lines, and keep check-only commands free of build flags. Clean the selected directory entry after checking ownership. Refs wavefnd#819, wavefnd#1095, wavefnd#1096, wavefnd#1100 and wavefnd#1104. Signed-off-by: LunaStev <luna@lunastev.org>
Validate ZIP entries and gzip trailers, including subsequent gzip members. Update the pinned zip and time dependencies and their lockfile resolutions. Refs wavefnd#1114 and wavefnd#1115. Signed-off-by: LunaStev <luna@lunastev.org>
Follow ELF search order, retain the executable context for Mach-O dependencies and collect PE export forwarders. Validate checksum record boundaries and require a source identity when checking the std revision. Refs wavefnd#1097, wavefnd#1098, wavefnd#1113, wavefnd#1126 and wavefnd#1127. Signed-off-by: LunaStev <luna@lunastev.org>
Mark normalized ZIP permissions with the Unix creator on every host. Run the frontend check regression against an enabled case target and expose native package loader test results in the macOS and Windows job logs. Signed-off-by: LunaStev <luna@lunastev.org>
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
This pre-release audit fixes compiler behavior that changed with optimization or target selection, case runs that could pass without satisfying their runtime contract, and package inputs that could produce an incomplete or corrupt installation.
#[target]conditions with AND. Preserve the next declaration and its source coordinates when removing an inactive item on the same line. Closes #1110. Closes #1111.MIN % -1, including compound assignments. Closes #1094. Closes #1107. Closes #1112. Closes #1125.zip 9.4.2andtime 0.3.47. Closes #1097. Closes #1098. Closes #1114. Closes #1115.Motivation
A signed remainder could fail at O0, a Windows-only declaration could enter Linux IR, and a package could ship a different library from the one selected by the original executable. The regressions exercise these outcomes through the compiler, case runner and package tools.
Target and compatibility impact
LLVM remains the default backend. The string write check preserves the existing raw pointer ABI. Within a Wave compilation, writes through buffer-backed strings still work, and dynamically resolved writes into literal storage trap before the store.
The following package loader regressions passed on native CI runners.
a.dllintob.dlland verified its return value on Windows amd64 and arm64. The resolver regression also covers ordinals, cycles and missing providers.Validation
5c8871e4passed all 50 jobs, including extracted-package smoke tests on macOS and Windows for amd64 and arm64.cargo +1.89.0 test --workspace --all-targets --locked --offline -j 2 --no-fail-fastpassed 705 tests across 86 suites, with zero ignored.cargo +1.89.0 clippy --workspace --all-targets --locked --offline -j 2 -- -D warnings,wave-tools maintain format --checkandgit diff --checkpassed.wave-tools check case-sourcespassed all 643 sources. The literal-write guard emitted IR and objects for 15 LLVM targets at O0 and O2. Exercised the writable-buffer and literal-write paths on Linux amd64, RISC-V under QEMU, and wasm32 WASI.wave-tools check extracted-package. The extracted compiler found its bundled std in an isolated directory and executed the smoke program.Checklist
Signed-off-byline.std/.