Repository navigation
Closed
Labels
enhancementNew feature or request
Description
Problem
The README and DESIGN status now misstate shipped capability. After BR-1 (#20, Windows COFF bridge), BR-3 (#31, macOS Mach-O bridge), and BR-4a (#24, benchmark participation), these claims are false:
README.md:9-10/DESIGN.md:3-4: "Windows/COFF and macOS/Mach-O are not implemented / remain planned." — reld links real programs on both now (via the bridge), proven by the rusqlite/C-linking e2e on the windows-msvc and macos-arm64 CI runners.README.md:32(platform table): "Linux / ELF now; Windows and macOS planned." — stale.README.md:28: "expands toward native Windows and macOS backends" — incomplete; the bridge ships now, native codegen is later.README.md:18-19(benchmark caption): "Thereldcolumn remainsn/auntil Phase 2's CI-generated measurement lands." — BR-4a landed the reld measurement (native, on Linux).
Fix (factual status sync only)
Update README.md and DESIGN.md to reflect the shipped bridge reality, staying strictly factual:
- reld links on all three platforms today: Linux natively (inherited wild ELF core), Windows via the COFF →
lld-linkbridge, macOS via the Mach-O →ld64.lldbridge. The bridge delegates to thelldthat ships in every Rust toolchain; native COFF/Mach-O codegen (P3: PE/COFF backend, MinGW (windows-gnu) ABI #7/P4: Mach-O backend, aarch64-apple-darwin #8) is still future — the bridge makes those platforms work now. - Update the platform table row and the "not implemented / planned" status blocks accordingly. Claim Position reld as a wild successor; add test, stress, and benchmark infrastructure #1 ("Runs and targets everywhere") is now substantiated for basic linking.
- Benchmark caption: reld participates on the Linux benchmark now (native engine); in the clang-based harness it charts
n/aon Windows/macOS (clang can't drive reld there — it links via rustc-Clinker), so note that honestly rather than implying a pending universal measurement. - Add a short "Bridge status" note (a few lines) summarizing native-vs-bridged per platform and pointing at Bridge linkers: run + benchmark reld on Windows and macOS now by delegating to lld (rust-lld) per platform #17 for the phase history.
Constraints / non-goals
- Factual only. Do NOT introduce the "polylinker" / capability-router / LTO-via-routing framing — that is Polylinker: flag-aware router over bundled linkers (LTO/optimized via routing + fallbacks) — design + docs #30's scope and is intentionally deferred. Do not restate LTO policy.
- Keep every still-accurate claim (incremental as the architecture, release-quality non-goal, the four claims as targets, performance numbers as targets-not-measurements).
- Docs only:
README.md+DESIGN.md. No code.
Done when
README/DESIGN accurately state that reld links on Linux/Windows/macOS today (native ELF + COFF/Mach-O bridges), with native codegen still future; no remaining "Windows/macOS not implemented/planned" language; no polylinker framing introduced. PR merged, issue closed, branch rebased on origin/main.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or request
Activity