You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
tests/run-make/embed-source-dwarf fails with rust.remap-debuginfo = true #166344
A-debuginfoArea: Debugging information in compiled programs (DWARF, PDB, etc.)A-path-remappingArea: path remapping, --remap-path-prefix, --remap-cwd-prefix, --remap-diagnostics-scope etc.A-testsuiteArea: The testsuite used to check the correctness of rustcC-bugCategory: This is a bug.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.
tests/run-make/embed-source-dwarf fails when rustc is built with rust.remap-debuginfo = true. The test expects only main.rs to have embedded source, but six std files are embedded too:
It passed in 1.96.1 and fails in 1.97.1 and 1.98.1. 1.97 is the first release with #155995, which made -Zembed-source embed sources for files from other crates.
Seen in Debian's rustc builds on amd64 and arm64. Full logs (1.98.1):
A-debuginfoArea: Debugging information in compiled programs (DWARF, PDB, etc.)A-path-remappingArea: path remapping, --remap-path-prefix, --remap-cwd-prefix, --remap-diagnostics-scope etc.A-testsuiteArea: The testsuite used to check the correctness of rustcC-bugCategory: This is a bug.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.
Activity
paradoxicalguy commentedon Nov 26, 2026
@rustbot claim
Rollup merge of rust-lang#166604 - paradoxicalguy:fix-embed-source-dw…
Rollup merge of rust-lang#166604 - paradoxicalguy:fix-embed-source-dw…
Unrolled build for #166604 in rollup 166633