mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-01 14:10:03 +03:00
e0b634ecae
The host's linker is used to compile build.rs files (e.g. for libc). When the user configures a custom liker (e.g. mold) in their own .cargo/config.toml or ~/.cargo/config.toml, that linker will likely not work when running run-docker.sh. So, we now reset it to `cc`, which should always be installed in the docker container.