diff options
| author | Matthias Krüger <476013+matthiaskrgr@users.noreply.github.com> | 2025-06-12 03:14:53 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-12 03:14:53 +0200 |
| commit | 78d83952e4ed6aa0a450aa58780d807facf2218e (patch) | |
| tree | 4b3e2767a28ef8d065dfc24e2536d12dc8e36bf4 /compiler/rustc_codegen_gcc | |
| parent | bb9dda1272d30ec6a3fbc04ab6abbb8f57fa6eab (diff) | |
| parent | 208f2e461c19ca62bc43e8797728bbc7308b05ba (diff) | |
| download | rust-78d83952e4ed6aa0a450aa58780d807facf2218e.tar.gz rust-78d83952e4ed6aa0a450aa58780d807facf2218e.zip | |
Rollup merge of #142318 - Urgau:cleanup-rust-src-remap, r=jieyouxu
Cleanup `rust-src` remapping and real dir When remapping, `bootstrap` sets `CFG_VIRTUAL_RUST_SOURCE_BASE_DIR` to indicate what the base build dir (`/` of this repo) was remapped to, ie. `/rustc/...`. It is therefore impossible when stripping `/rustc/...` from a remapped path to be inside the our `library/` directory, nevertheless we have code that assumed it was possible and helpfully tried to correct it. I don't why this was done, but it's not necessary. ~~The normalization in compiletest of `$SRC_DIR_REAL` was also slightly wrong, it ate the `library` part for no reason.~~ EDIT: there is a reason, it affects too much tests otherwise r? `@jieyouxu`
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions
