diff options
| author | bors <bors@rust-lang.org> | 2024-08-12 08:58:03 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-08-12 08:58:03 +0000 |
| commit | dd600eff3a8def8c41b5bb86b4c6631f6e4c690b (patch) | |
| tree | 5f42253af1712d1842970ee90722f9a240c08d3b /tests/debuginfo/enum-thinlto.rs | |
| parent | a25ec22901e387d076eac487608a172d3b37390e (diff) | |
| parent | feab3240857e568b25d3950b6e5697bb4b0b7e6e (diff) | |
| download | rust-dd600eff3a8def8c41b5bb86b4c6631f6e4c690b.tar.gz rust-dd600eff3a8def8c41b5bb86b4c6631f6e4c690b.zip | |
Auto merge of #3798 - RalfJung:miri-script-remap-path-prefix, r=saethlin
miri-script: use --remap-path-prefix to print errors relative to the right root Inspired by https://github.com/rust-lang/rust-clippy/pull/13232, this makes it so that when cargo-miri fails to build, `./miri check` will print errors with paths like `cargo-miri/src/setup.rs`. That means we can get rid of the miri-symlink-hacks and instead tell RA to just always invoke the `./miri clippy` script just once, in the root. This means that we can no longer share a target dir between cargo-miri and miri as the RUSTFLAGS are different to crates that are shared in the dependency tree need to be built twice with two different flags. `miri-script` hence now has to set the MIRI environment variable to tell the `cargo miri setup` invocation where to find Miri. I also made it so that errors in miri-script itself are properly shown in RA, for which the `./miri` shell wrapper needs to set the right flags.
Diffstat (limited to 'tests/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions
