rust/tests/ui/unused-crate-deps/test.mk
2023-01-11 09:32:08 +00:00

8 lines
147 B
Makefile

# Everyone uses make for building Rust
foo: bar.rlib
$(RUSTC) --crate-type bin --extern bar=bar.rlib
%.rlib: %.rs
$(RUSTC) --crate-type lib $<