]> git.lizzy.rs Git - rust.git/blob - src/test/run-make-fulldeps/remap-path-prefix/Makefile
Merge commit '1411a98352ba6bee8ba3b0131c9243e5db1e6a2e' into sync_cg_clif-2021-12-31
[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