Skip to content

Commit

Permalink
Test -Zremap-path-scope=split-debuginfo with -Csplit-debuginfo=packed
Browse files Browse the repository at this point in the history
  • Loading branch information
Urgau committed Oct 17, 2023
1 parent 0b2fd2b commit 5c41de1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/run-make/remap-path-prefix/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,8 @@ remap-with-scope:
$(RUSTC) --remap-path-prefix $$PWD/auxiliary=/the/aux -Zremap-path-scope=split-debuginfo $(DEBUGINFOOPTS) --crate-type=lib --emit=metadata auxiliary/lib.rs
! grep "/the/aux/lib.rs" $(TMPDIR)/liblib.rmeta || exit 1
grep "$$PWD/auxiliary" $(TMPDIR)/liblib.rmeta || exit 1

# FIXME: We should test the split debuginfo files, but we don't currently a good infra for that
$(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
grep "/the/aux/lib.rs" $(TMPDIR)/liblib.rmeta || exit 1
! grep "$$PWD/auxiliary" $(TMPDIR)/liblib.rmeta || exit 1

0 comments on commit 5c41de1

Please sign in to comment.