about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2024-07-01 20:29:59 +0200
committerGitHub <noreply@github.com>2024-07-01 20:29:59 +0200
commitcb81d0dd05b5b55cbee03528bdf5c6bd837c3572 (patch)
treeee8b6edd778c218e307bbea8ee111cb989f81bc6 /compiler/rustc_codegen_llvm/src
parent61fe6b6c0cfc68affc258107333aaed1c8949312 (diff)
parent97415ce6e792fecf5bfa5be20745c0f0f377dc51 (diff)
downloadrust-cb81d0dd05b5b55cbee03528bdf5c6bd837c3572.tar.gz
rust-cb81d0dd05b5b55cbee03528bdf5c6bd837c3572.zip
Rollup merge of #127188 - onur-ozkan:rustc-src-fix, r=Kobzol
 improve the way bootstrap handles rustlib components

When CI rustc is enabled, bootstrap tries to symlink the rust source (project root) into target sysroot right before copying it from the CI rustc's sysroot. This becomes a problem in CI builders (which we currently don't see because they don't use CI rustc) because the copying part will fail as [they run on read-only mode](https://github.com/rust-lang/rust/blob/ef3d6fd7002500af0a985f70d3ac5152623c1396/src/ci/docker/run.sh#L233).

This change fixes the problem by copying `rustc-src` from the CI rustc sysroot and only symlinking `rustc-src` from the rust source when download-rustc is not enabled.

r? ``@Kobzol`` (we talked about this already on Zulip, he knows the context)

Blocker for https://github.com/rust-lang/rust/pull/122709
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions