]> git.lizzy.rs Git - rust.git/blob - src/test/run-make-fulldeps/remap-path-prefix/Makefile
Merge commit 'e36a20c24f35a4cee82bbdc600289104c9237c22' into ra-sync-and-pms-component
[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