Failed to capture backtrace when compiling with --remap-path-prefix=${PWD}=
#135853
Labels
A-backtrace
Area: Backtraces
A-path-remapping
Area: path remapping, --remap-path-prefix, --remap-cwd-prefix, --remap-diagnostics-scope etc.
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I tried this code:
I expected to see this happen:
backtrace_rs::main
yields correct remapped source info.Instead, this happened: source info for 2-3 are missing.
Meta
rustc --version --verbose
:also checked:
rustc +nightly-aarch64-apple-darwin --version --verbose
:This is also reported to rust-lang/backtrace-rs#691.
The text was updated successfully, but these errors were encountered: