]> git.lizzy.rs Git - rust.git/blob - src/test/run-make-fulldeps/remap-path-prefix/Makefile
Merge commit 'e8dca3e87d164d2806098c462c6ce41301341f68' into sync_from_cg_gcc
[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