]> git.lizzy.rs Git - rust.git/blob - src/test/run-make-fulldeps/remap-path-prefix/Makefile
Add 'library/portable-simd/' from commit '1ce1c645cf27c4acdefe6ec8a11d1f0491954a99'
[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