Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use -Zroot-dir instead of --remap-path-prefix for diagnostic dir handling #4039

Merged
merged 1 commit into from
Nov 19, 2024

Conversation

RalfJung
Copy link
Member

A while ago we started setting --remap-path-prefix so that ./miri check would show all error messages relative to the Miri dir, rather than relative to the folder of the respective crate. Now cargo has -Zroot-dir which is more directly targeting this usecase, and which will hopefully soon be used by rustc for the same purpose. So let's use it in Miri as well. I checked locally that this works for both miri-script and cargo-miri.

@oli-obk oli-obk added this pull request to the merge queue Nov 19, 2024
Merged via the queue into rust-lang:master with commit 3b48085 Nov 19, 2024
7 checks passed
@RalfJung RalfJung deleted the root-dir branch November 19, 2024 06:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants