Repository navigation
The corpus test programs re-promoted under D155/D156 (the pre-D155 alias block displaced std.libc's c_char on u8 hosts) - #2601
Merged
Merged
Conversation
added 2 commits
October 24, 2026 10:39
…MOTE=ruling:D155)
The promoted programs under test/corpora/{c_algorithms,stc,mlib} were left out of #2596's re-promotion and still carried the pre-D155 alias block (`pub type c_char = i8`, `c_int = i32`, ...). Assembled under lib/std/engines/<x>_testing they are std-tier modules, so std.libc read their `c_char` as i8 while the runtime interface spelled the target's u8: on linux-aarch64 every std.libc wrapper failed MIR validation (realpath first; the rung compiler has no strict pointer rule, so Sema was silent). A fresh migration never emits the block; the promoted programs now match it: fixed widths, `c_char` symbolic, the data model recorded.
…d test programs (corpus-integrity)
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.
Re-promotes the test programs under
test/corpora/{c_algorithms,stc,mlib}(WITH_CORPUS_PROMOTE=ruling:D155), which #2596 left out: they still carried the pre-D155 alias block (pub type c_char = i8,pub type c_int = i32, ...).Found on the linux-aarch64 seed leg: the programs are assembled under
lib/std/engines/<corpus>_testing, a std-tier path, and std modules read each other's declarations, so std.libc resolvedc_charto the test program'si8alias while the runtime interface spelled the target'su8. Every std.libc wrapper then failed MIR validation (use rvalue type is incompatible with assign destinationinrealpath). On i8 hosts the displacement was invisible. A fresh migration never emits the block (the-freshlanes were green); the promoted programs now match it.Battery: GREEN on 920de0e (seed nightly-20261024-local-1-c1ea1de114eb; the first run was red only on corpus-integrity, fixed by the full c_algorithms and stc promotes whose stamps now cover the test programs).