Repository navigation
Description
Context
The consumer-acceptance work needs Rust's stable direct ld linker flavor to make the pinned xsv build invoke the exact Linux reld binary. Rust 1.94 rejects gnu-lld, gnu, and ld in this configuration as unstable, so the declared 1.94 baseline does not describe a usable supported integration baseline.
The repository declares/pins 1.94 in the workspace manifest, rust-toolchain.toml, CI, linker-modes CI, stress/benchmark workflows, and README commands. The Phase-1 matrix builds x86_64-pc-windows-gnu, but three-platform consumer artifacts currently cover Windows MSVC only. Windows GNU remains an additive Phase-5 implementation using the GNU ld dialect and an MSYS2 wrapper mechanism.
Proposal
Raise the MSRV to 1.95 and pin all normal CI/tooling to the exact 1.95 release. Use stable direct ld for Linux Rust consumer acceptance. Explicitly decide whether Windows GNU is an advertised supported linker route; if so, add its consumer acceptance rather than treating compile-only Phase-1 coverage as proof.
Acceptance criteria
- Add a focused RED -> GREEN regression: 1.94 rejects the direct-linker configuration and the 1.95-pinned compiler accepts it.
- Update
[workspace.package].rust-versioninCargo.tomlto1.95, plus every normal toolchain pin/expectation:rust-toolchain.toml,.github/workflows/ci.yml,.github/workflows/linker-modes.yml,.github/workflows/stress.yml,.github/workflows/benchmark-stats.yml, and README/tooling commands naming 1.94.1. - Keep nightly-only sanitizer/fuzz overrides explicit; document their compatibility with the new baseline as necessary.
- Update contributor/platform documentation to state the 1.95 MSRV and why Linux consumers use direct
ld; CI must prove the pinned version rather than use floatingstable. - Run three-platform consumer acceptance using Rust 1.95 with pinned xsv 0.13.0 routed through reld, JSONL output evidence, audit-off/audit-on byte checks, and native execution.
- Make an explicit
x86_64-pc-windows-gnudecision: document it as not consumer-supported yet, or implement it as supported. - If Windows GNU is implemented, add a UCRT64/MSYS2 consumer lane selecting reld through the documented
-B<dir>ldwrapper (not-fuse-ld=<path>), recording exact output/invocation, and running pinned Rust, PCRE2, and C++ consumers natively. - For enabled Windows GNU, add RED -> GREEN coverage for Rust's GNU COFF dialect (
-m i386pep,--gc-sections, literal-l:inputs, plus CRT/import behavior) and retain pinned MSYS2 binutils/LLVM reference checks. - Preserve the no-new-crates dependency policy; no Rust package dependency may be added without explicit developer approval.
Decisions
- This is an MSRV correctness update, not broad toolchain modernization; 1.95 is the requested first supported baseline.
- Windows GNU parity is conditional implementation work: current CI compilation and a Phase-5 design document are not proof that real consumers link through reld.
- Keep Windows MSVC acceptance required while Windows GNU remains unresolved.
Open questions
- Is Windows GNU intended to be advertised now, or only after the Phase-5 GNU-dialect and runtime work closes?
Activity
docs: define Windows GNU acceptance (compile-only, not consumer-suppo…