-
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
--remap-path-prefix not remapping out_dir in debug info on Wasm #80776
Comments
Are you passing (Doing so may involve suspending the execution of rustc and then obtaining the CLI through operating system; e.g. on Linux via |
|
Yeah, I just wanted to make sure it is not something obviously wrong with how arguments get to rustc, especially as you mentioned use of environment variables, that are typically set inside cargo. |
This might be fixed by #82102 as well. |
#82102 was merged, are you still running into this? |
Confirmed I'm no longer seeing this bug. Thanks both, closing! |
I'm seeing an un-remapped path in a Wasm bin compiled with
--target=wasm32-unknown-unknown
--release
debug = 1
--remap-path-prefix=$CARGO_MANIFEST_DIR=
onnightly-2021-01-02
. Here's a snippet of it and a couple of preceding strings that help contextualise:It looks like it's the out_dir that's not getting remapped:
rust/compiler/rustc_codegen_llvm/src/debuginfo/metadata.rs
Lines 970 to 1109 in dfdfaa1
The text was updated successfully, but these errors were encountered: