-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-debuginfoArea: Debugging information in compiled programs (DWARF, PDB, etc.)Area: Debugging information in compiled programs (DWARF, PDB, etc.)A-testsuiteArea: The testsuite used to check the correctness of rustcArea: The testsuite used to check the correctness of rustcC-bugCategory: This is a bug.Category: This is a bug.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.
Description
Setting remap-debuginfo
to true
in config.toml
will cause a few tests to fail. They are:
ui/impl-trait/impl-generic-mismatch.rs
ui/consts/const-size_of-cycle.rs
ui/type_length_limit.rs
The issue is that these tests use $SRC_DIR
in their .stderr
output, but when the standard library is built with --remap-path-prefix
, these paths will not be shown at all in the output.
I can't think of an easy way to work around that. My only idea is to add an "ignore" flag to compiletest so that these tests can be ignored when remapping is enabled.
Metadata
Metadata
Assignees
Labels
A-debuginfoArea: Debugging information in compiled programs (DWARF, PDB, etc.)Area: Debugging information in compiled programs (DWARF, PDB, etc.)A-testsuiteArea: The testsuite used to check the correctness of rustcArea: The testsuite used to check the correctness of rustcC-bugCategory: This is a bug.Category: This is a bug.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.