diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/run-make-fulldeps/manual-crate-name/Makefile | 5 | ||||
-rw-r--r-- | src/test/run-make-fulldeps/manual-crate-name/bar.rs | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/test/run-make-fulldeps/manual-crate-name/Makefile b/src/test/run-make-fulldeps/manual-crate-name/Makefile new file mode 100644 index 000000000..1d1419997 --- /dev/null +++ b/src/test/run-make-fulldeps/manual-crate-name/Makefile @@ -0,0 +1,5 @@ +-include ../tools.mk + +all: + $(RUSTC) --crate-name foo bar.rs + rm $(TMPDIR)/libfoo.rlib diff --git a/src/test/run-make-fulldeps/manual-crate-name/bar.rs b/src/test/run-make-fulldeps/manual-crate-name/bar.rs new file mode 100644 index 000000000..c1bfaa6ca --- /dev/null +++ b/src/test/run-make-fulldeps/manual-crate-name/bar.rs @@ -0,0 +1 @@ +#![crate_type = "rlib"] |