File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
tests/run-make/remap-path-prefix Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -32,3 +32,8 @@ remap-with-scope:
3232 $(RUSTC) --remap-path-prefix $$PWD/auxiliary=/the/aux -Zremap-path-scope=split-debuginfo $(DEBUGINFOOPTS) --crate-type=lib --emit=metadata auxiliary/lib.rs
3333 ! grep "/the/aux/lib.rs" $(TMPDIR)/liblib.rmeta || exit 1
3434 grep "$$PWD/auxiliary" $(TMPDIR)/liblib.rmeta || exit 1
35+
36+ # FIXME: We should test the split debuginfo files, but we don't currently a good infra for that
37+ $(RUSTC) --remap-path-prefix $$PWD/auxiliary=/the/aux -Zremap-path-scope=split-debuginfo -Zunstable-options -Csplit-debuginfo=packed --crate-type=lib --emit=metadata auxiliary/lib.rs
38+ grep "/the/aux/lib.rs" $(TMPDIR)/liblib.rmeta || exit 1
39+ ! grep "$$PWD/auxiliary" $(TMPDIR)/liblib.rmeta || exit 1
You can’t perform that action at this time.
0 commit comments