mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 15:01:51 +00:00
433da1fc04
They pass fine.
10 lines
367 B
Makefile
10 lines
367 B
Makefile
include ../tools.mk
|
|
|
|
# ignore-windows
|
|
|
|
# Checks if remapping works if the remap-from string contains path to the working directory plus more
|
|
all:
|
|
$(RUSTC) --remap-path-prefix $$PWD/auxiliary=/the/aux --crate-type=lib --emit=metadata auxiliary/lib.rs
|
|
grep "/the/aux/lib.rs" $(TMPDIR)/liblib.rmeta || exit 1
|
|
! grep "$$PWD/auxiliary" $(TMPDIR)/liblib.rmeta || exit 1
|