rust/src/test/run-make/extern-diff-internal-name/Makefile
Alex Crichton 9d0b3c9fc9 rustc: Turn off multiple versions of crate warning
This warning has been around in the compiler for quite some time now, but the
real place for a warning like this, if it should exist, is in Cargo, not in the
compiler itself. It's a first-class feature of Cargo that multiple versions of a
crate can be compiled into the same executable, and we shouldn't be warning
about our first-class features.
2015-01-06 08:22:59 -08:00

5 lines
97 B
Makefile

-include ../tools.mk
all:
$(RUSTC) lib.rs
$(RUSTC) test.rs --extern foo=$(TMPDIR)/libbar.rlib