We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 94ecdfd commit b76ce69Copy full SHA for b76ce69
src/test/run-make-fulldeps/remap-path-prefix/Makefile
@@ -0,0 +1,6 @@
1
+-include ../tools.mk
2
+
3
+# Checks if remapping works if the remap-from string contains path to the working directory plus more
4
+all:
5
+ $(RUSTC) --remap-path-prefix $$PWD/auxiliary=/the/aux --crate-type=lib --emit=metadata auxiliary/lib.rs
6
+ ! grep "$$PWD/auxiliary" $(TMPDIR)/liblib.rmeta || exit 1
src/test/run-make-fulldeps/remap-path-prefix/auxiliary/lib.rs
@@ -0,0 +1,3 @@
+fn lib() {
+ panic!("calm");
+}
0 commit comments