-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
sysroot spans still not printed, when remap-path-prefix is set with a custom path #74786
Comments
This also causes 7 mir-opt-tests to fail, the ones that refer to
|
If it's infeasible to fix this generally in rustc, I'd be happy to keep & maintain a Debian-specific hacky patch. |
If I patch I was initially thrown off by the documentation of
This suggests that the mapping isn't applied to |
Closely related to #73167 |
Also seeing this in #73265 (comment) |
config.toml.example: Update remap-debuginfo doc to be more general & accurate This makes it more obvious that the work-around to rust-lang#74786 is actually correct, and a custom `--remap-path-prefix` isn't needed. In fact the previous comment `/rustc/$hash/$crate` was wrong, it is not `$crate` but whatever path exists in the rustc source tree, so either `src/$crate` or `vendor/$crate`. I've fixed that as well to avoid future confusion.
The fix at the end of #53081 talks about
remap-debuginfo
inconfig.toml
and/rustc/$hash
, however in Debian we use--remap-path-prefix
inRUSTFLAGS
and/usr/src/rustc-$VERSION
.Results in 64 failing tests in
[ui]
, in 1.44.1@eddyb any ideas for a quick fix?
The text was updated successfully, but these errors were encountered: