SIGN IN SIGN UP
rust-lang / rust UNCLAIMED

Empowering everyone to build reliable and efficient software.

0 0 71 Rust

Rollup merge of #142000 - lambdageek:no-symlink-stage0, r=onur-ozkan

bootstrap: don't symlink source dir into stage0 sysroot

In StdLink::run we subsequently recursively copy the initial sysroot lib directory into the stage0-sysroot lib directory.  If the initial sysroot is a toolchain that includes the `rust-src` component (in lib/rustlib/src/rust), if we add this symlink, that recursive copy will overwrite the repo sources with the toolchain's sources.

Fixes https://github.com/rust-lang/rust/issues/141991
M
Matthias Krüger committed
d31faac159ba5bc0f2d45ec7ccb7c74fb5243a1f
Committed by GitHub <noreply@github.com> on 6/4/2025, 5:54:36 AM