remap-debuginfo causes some rustc tests to fail #63339
Labels
A-debuginfo
Area: Debugging information in compiled programs (DWARF, PDB, etc.)
A-testsuite
Area: The testsuite used to check the correctness of rustc
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Setting
remap-debuginfo
totrue
inconfig.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.
The text was updated successfully, but these errors were encountered: