notes

Honest caveats: what is Unsupported, and why

An appendix to notes/std.md, which is the page to read. This file holds the full caveat list the main page's BUGS section summarizes, with the reasoning for each. The directory notes/std/ and this file's stem are provisional names. Naming is calef's.

The records this file cites by number:

Honest caveats (what is Unsupported, and why)

The farm copies rustc and its driver rather than linking them

rustc finds its sysroot from where its own image lives. When a farm's bin/rustc and lib/librustc_driver-*.dylib are hard links to the pinned nightly's inodes, rustc --print sysroot through the rustup proxy can name the real nightly instead of the farm. A cargo build -Zbuild-std then compiles unpatched std and fails in its cfg_select! dispatchers. The mechanism is inferred, not proven: macOS appears to report one path for an inode with several links, so whichever link ran last can win.

So std_src replaces those two hard links with real copies (unlink_sysroot_anchors, about 90 MB per farm on nightly-2026-10-06) and keeps everything else hard-linked. Measured 2026-10-06 (UTC), #1784: through the proxy (rustup run and RUSTUP_TOOLCHAIN, 30 runs each), rustc --print sysroot named a copying farm 60 times of 60 and named the nightly 15 times of 60 against a linking one. A host test, the_farm_copies_rustc_and_its_driver_and_links_the_rest, pins which files are copies.

What the pin and the farm trust

Two limits stand under every std program this tree builds. This tree accepts both, and no gate holds either. The 2026-10-26 security audit records the reasoning (findings 6 and 7).