]> git.lizzy.rs Git - rust.git/blob - src/test/run-make-fulldeps/remap-path-prefix/Makefile
Merge commit '91496c2ac6abf6454c413bb23e8becf6b6dc20ea' into clippyup
[rust.git] / src / test / run-make-fulldeps / remap-path-prefix / Makefile
1 -include ../tools.mk
2
3 # ignore-windows
4
5 # Checks if remapping works if the remap-from string contains path to the working directory plus more
6 all:
7         $(RUSTC) --remap-path-prefix $$PWD/auxiliary=/the/aux --crate-type=lib --emit=metadata auxiliary/lib.rs
8         grep "/the/aux/lib.rs" $(TMPDIR)/liblib.rmeta || exit 1
9         ! grep "$$PWD/auxiliary" $(TMPDIR)/liblib.rmeta || exit 1