diff options
| author | Jieyou Xu <jieyouxu@outlook.com> | 2025-05-30 09:50:06 +0800 |
|---|---|---|
| committer | Jieyou Xu <jieyouxu@outlook.com> | 2025-05-31 23:03:59 +0800 |
| commit | 8976a6ee07fd983cda1463fd299a4e2adc16ec4d (patch) | |
| tree | 13f6f05eb6ea1b4cc62ae799e9aadfb8697f2841 /compiler/rustc_codegen_llvm/src | |
| parent | e0d014a3dffbb3f0575cfbeb0f480c5080c4d018 (diff) | |
| download | rust-8976a6ee07fd983cda1463fd299a4e2adc16ec4d.tar.gz rust-8976a6ee07fd983cda1463fd299a4e2adc16ec4d.zip | |
bootstrap: remap compiler vs non-compiler sources differently
- Map compiler sources (corresponding to `rustc-dev` dist component)
with `/rustc-dev/{hash}`.
- Map non-compiler sources (corresponding to `rust-src` dist component
or other non-compiler sources) with `/rustc/{hash}`.
This allows the compiler to have the possibility of opportunistically
reverse the mapping. This is because
- `rust-src` unpacks sources to a path like
`$sysroot/lib/rustlib/src/rust`, whereas
- `rustc-dev` unpacks sources to a path like
`$sysroot/lib/rustlib/rustc-src/rust`
(Notice the `src` vs `rustc-src` difference.)
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
