Repository navigation
test(ci): self-host — link reld with reld-link on windows-msvc (#40) - #41
Merged
Merged
Conversation
#40) Extend Windows bridge coverage from the small rusqlite fixture to a large, real Rust binary: reld itself (~17MB, mimalloc/object/clap/many crates). After the workspace build produces reld-link.exe, point cargo's msvc linker at it and `cargo build -p reld --bin reld` — the linker-env change invalidates reld.exe's link fingerprint, so cargo relinks it through the bridge (reld-link → lld-link). Then run the self-linked `reld --version` and assert `Reld` + exit 0. Self-host is the strongest single correctness signal (P2/#6). Other legs unchanged. Closes #40 Co-Authored-By: Claude Fable 5 <[email protected]>
This was referenced Aug 7, 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.
Implements #40. Closes #40.
What
Extends the Windows COFF bridge CI coverage from the small rusqlite fixture (BR-2) to a large, real Rust binary — reld itself (~17MB: mimalloc,
object,clap, many crates). Self-host is the strongest single correctness signal (P2/#6).The new windows-msvc step, after the workspace build produces
reld-link.exe, setsCARGO_TARGET_X86_64_PC_WINDOWS_MSVC_LINKERto it andcargo build -p reld --bin reld— the linker-env change invalidates reld.exe's link fingerprint, so cargo relinks reld through the bridge (reld-link → lld-link). Then it runs the self-linkedreld --version, asserting exit 0 and theReldmarker.Testing
reld --version→Reld <sha> (compatible with GNU linkers), exit 0. So the step exercises real self-host, not a cached no-op.ci/e2e/sqlite-bridgeregression stillOK(bridge untouched)..github/workflows/ci.yml, only the windows-msvc leg.Review
Independent review: APPROVE — confirmed the linker-env change forces a real relink (empirically verified), three explicit gates prevent a false-green (build exit, run exit,
Reldmarker), no env leakage to later steps, scope clean.🤖 Generated with Claude Code