about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/query.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2025-02-22 01:01:38 +0100
committerGitHub <noreply@github.com>2025-02-22 01:01:38 +0100
commit57da7d31d64a610ca6d2432c678d8abac393a1ff (patch)
tree3e4c94714ac3dd421f9cbfeea9cf094ec7d3624f /compiler/rustc_mir_transform/src/coverage/query.rs
parent326072ac206fa43d8e6b9c61ed484f9f07185933 (diff)
parent6d0c27e9763cdf6c1cad46d7a71ff83468ad6371 (diff)
downloadrust-57da7d31d64a610ca6d2432c678d8abac393a1ff.tar.gz
rust-57da7d31d64a610ca6d2432c678d8abac393a1ff.zip
Rollup merge of #136474 - jieyouxu:src-base, r=clubby789
[`compiletest`-related cleanups 3/7] Make the distinction between sources root vs test suite sources root in compiletest less confusing

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

### Summary

- Remove `--src-base` compiletest in favor of new flags `--src-root` and `--src-test-suite-root` which more accurately conveys the intent. `--src-base` previously actually meant `--src-test-suite-root` and has caused multiple confusions.
- Use `--src-root` to have bootstrap directly feed source root path to compiletest, instead of doing a hacky directory parent search heuristic (`find_rust_src_root`) that somehow returns an `Option<PathBuf>`.

### Review advice

Best reviewed commit-by-commit.

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