Skip to content

Commit 08c55bd

Browse files
committed
Test presence of remapped path
1 parent 70b9a7b commit 08c55bd

File tree

1 file changed

+1
-0
lines changed
  • src/test/run-make-fulldeps/remap-path-prefix

1 file changed

+1
-0
lines changed

Diff for: src/test/run-make-fulldeps/remap-path-prefix/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@
33
# Checks if remapping works if the remap-from string contains path to the working directory plus more
44
all:
55
$(RUSTC) --remap-path-prefix $$PWD/auxiliary=/the/aux --crate-type=lib --emit=metadata auxiliary/lib.rs
6+
grep "/the/aux/lib.rs" $(TMPDIR)/liblib.rmeta || exit 1
67
! grep "$$PWD/auxiliary" $(TMPDIR)/liblib.rmeta || exit 1

0 commit comments

Comments
 (0)