You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
BR-2: Windows CI proof — link a rusqlite program with reld on the windows-msvc runner #21
Sub-task of #17 (phase BR-2). Follows #18 (BR-1, merged in #20).
Goal
Prove the Windows COFF bridge in CI: on the existing windows-msvc runner, build a real Rust program with reld as the linker (-Clinker=<reld-link.exe>) and run it, asserting exit 0. This makes the bridge a continuously-verified gate rather than a one-time local check.
Deliverable
Commit the e2e fixture — a two-crate, 16-source-file project with 4 dependencies including rusqlite (bundled → compiles + links the SQLite C amalgamation, exercising C linking through the bridge). Lives at ci/e2e/sqlite-bridge/, is its own workspace and added to the root [workspace].exclude so cargo build --workspace never pulls it in. Binary opens an in-memory SQLite DB, round-trips a row, prints an OK marker, exits 0.
CI step on the windows-msvc matrix leg of .github/workflows/ci.yml, after the workspace build (so target/debug/reld-link.exe exists): build the fixture with the msvc linker pointed at the just-built reld-link.exe, run the resulting binary, assert exit 0 and the OK / SQLite-version markers. Fail loudly if the bridge note or the binary is missing.
Notes
Bridge-discovery unit tests already landed in BR-1 (crates/reld-core/src/bridge.rs), satisfying BR-2's "discovery unit tests" line.
CI uses bare cargo (no soldr); rustc is on PATH, so the bridge discovers rust-lld via rustc --print sysroot as designed.
The windows-msvc CI leg builds ci/e2e/sqlite-bridge with reld as linker and the binary runs green; existing legs unaffected; PR merged, this issue closed, branch rebased on origin/main.
Activity
test(ci): prove the Windows COFF bridge links a rusqlite program (BR-…