Repository navigation
docs: reframe reld as a polylinker + sync shipped 3-platform status - #33
Merged
Merged
Conversation
Two things, kept scrupulously distinct as shipped vs designed: Shipped (factual status correction): reld links real programs on all three platforms today — Linux/ELF natively (inherited wild core), Windows/COFF and macOS/Mach-O via a bridge to lld (lld-link / ld64.lld from rust-lld), CI-proven by the rusqlite/C-linking e2e. Native COFF/Mach-O codegen (#7/#8) is still future. Replace the stale "Windows/macOS not implemented / planned" language, update the platform table, add a "Bridge status" table, and correct the benchmark caption (real reld number on Linux; n/a on Win/mac in the clang harness because reld links via rustc -Clinker there). Designed (polylinker framing, per #30): reframe reld as a polylinker — a flag-aware router over the bundled engines that satisfies any link config by routing (fast default, escalate on demand, fallbacks, never a silent mislink), with LTO delegated to a capable engine rather than rejected. This is DESIGN, not implemented: today's only routing is by platform/format at dispatch. Add DESIGN §4.5, a new agents/docs/polylinker.md contributor note (with an explicit shipped-vs-designed table), and revise decision D13 (original preserved and marked superseded) to the routing policy, tracked for implementation by B8 (#17) and the daemon router (#19). Closes #30 Closes #32 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.
Closes #30 (polylinker design + docs). Closes #32 (factual bridge-status sync). Docs only — no code.
Two things, kept strictly distinct as shipped vs designed
Shipped (factual status correction, #32)
The README/DESIGN previously said Windows/macOS are "not implemented / planned" — false after BR-1 (#20) and BR-3 (#31). Corrected to the truth:
lld(lld-link/ld64.lldfromrust-lld), CI-proven by the rusqlite/C-linking e2e on the windows-msvc and macos-arm64 runners.n/aon Win/mac in the clang harness because reld links via rustc-Clinkerthere, not-fuse-ld).Designed (polylinker framing, #30)
Reframes reld as a polylinker — a flag-aware router over the bundled engines that satisfies any link configuration by routing to whichever bundled linker supports it (fast default, escalate on demand, fallbacks, never a silent mislink), with LTO delegated to a capable engine rather than rejected.
agents/docs/polylinker.md— contributor note with an explicit shipped-vs-designed status table and the rule that new backends go behind the capability table, not as forks.Honesty guardrail
The flag-aware router, capability table, fallbacks,
--engine=/RELD_ENGINE, and LTO-delegation are DESIGN, not implemented — today's only routing is by platform/format at dispatch. Every doc marks this explicitly (each new section carries a shipped-vs-designed status table). LTO flags are still rejected/ignored today until B8 (#17) lands; the router implementation is tracked by B8 and the daemon router (#19). Independent review confirmed no sentence claims the router is implemented, bridge stays distinct from native codegen, and the shipped status is factually accurate.Testing
Docs only; the rusqlite
ci/e2e/sqlite-bridgeregression still returnsOK(reld untouched).🤖 Generated with Claude Code