-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
Failed to capture backtrace when compiling with --remap-path-prefix=${PWD}= on aarch64-apple-darwin #135853
Copy link
Copy link
Closed
Labels
A-backtraceArea: BacktracesArea: BacktracesA-path-remappingArea: path remapping, --remap-path-prefix, --remap-cwd-prefix, --remap-diagnostics-scope etc.Area: path remapping, --remap-path-prefix, --remap-cwd-prefix, --remap-diagnostics-scope etc.C-bugCategory: This is a bug.Category: This is a bug.O-appleOperating system: Apple / Darwin (macOS, iOS, tvOS, visionOS, watchOS)Operating system: Apple / Darwin (macOS, iOS, tvOS, visionOS, watchOS)T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
A-backtraceArea: BacktracesArea: BacktracesA-path-remappingArea: path remapping, --remap-path-prefix, --remap-cwd-prefix, --remap-diagnostics-scope etc.Area: path remapping, --remap-path-prefix, --remap-cwd-prefix, --remap-diagnostics-scope etc.C-bugCategory: This is a bug.Category: This is a bug.O-appleOperating system: Apple / Darwin (macOS, iOS, tvOS, visionOS, watchOS)Operating system: Apple / Darwin (macOS, iOS, tvOS, visionOS, watchOS)T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
I tried this code:
I expected to see this happen:
backtrace_rs::mainyields 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.