about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authoronur-ozkan <work@onurozkan.dev>2024-06-30 23:52:28 +0300
committeronur-ozkan <work@onurozkan.dev>2024-07-01 13:10:46 +0300
commitfe6f3fa107389f3b46235b97aa7330e54ad241e6 (patch)
treef60c7c5deb6ee30bfcc9f6ca4d6070801063c96b /compiler/rustc_codegen_llvm/src
parent7b21c18fe4de32a7d2faa468e6ef69abff013f85 (diff)
downloadrust-fe6f3fa107389f3b46235b97aa7330e54ad241e6.tar.gz
rust-fe6f3fa107389f3b46235b97aa7330e54ad241e6.zip
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.

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.

Signed-off-by: onur-ozkan <work@onurozkan.dev>
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions