about summary refs log tree commit diff
path: root/compiler/rustc_interface/src/errors.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2025-02-27 08:56:35 +0100
committerGitHub <noreply@github.com>2025-02-27 08:56:35 +0100
commitf435138da9ce4d29feb731bd0db32f1c880b5663 (patch)
treed968738d3c0ca655d3ed01e4155bac2a6706c498 /compiler/rustc_interface/src/errors.rs
parent96cfc75584359ae7ad11cc45968059f29e7b44b7 (diff)
parent7d2e4e4b6966ae4646e4f87800dafe6cc1b839c2 (diff)
downloadrust-f435138da9ce4d29feb731bd0db32f1c880b5663.tar.gz
rust-f435138da9ce4d29feb731bd0db32f1c880b5663.zip
Rollup merge of #136542 - jieyouxu:build-base, r=onur-ozkan
[`compiletest`-related cleanups 4/7] Make the distinction between root build directory vs test suite specific build directory in compiletest less confusing

Reference for overall changes: https://github.com/rust-lang/rust/pull/136437
Part **4** of **7** of the *`compiletest`-related cleanups* PR series.

### Summary

- Remove `--build-base` compiletest flag, and introduce `--build-{root,test-suite-root}` flags instead. `--build-base` previously actually is test suite specific build directory, not the root `build/` directory.
- Feed the root build directory directly from bootstrap to compiletest via `--build-root` instead of doing multiple layers of parent unwrapping[^parent] based on the test suite specific build directory.
- Remove a redundant `to_path_buf()`.

[^parent]: Please do not unwrap the parents.

r? bootstrap
Diffstat (limited to 'compiler/rustc_interface/src/errors.rs')
0 files changed, 0 insertions, 0 deletions