rust/tests/run-make/panic-impl-transitive/Makefile

8 lines
252 B
Makefile
Raw Normal View History

include ../tools.mk
2018-05-29 05:33:11 -05:00
# NOTE we use --emit=llvm-ir to avoid running the linker (linking will fail because there's no main
# in this crate)
all:
$(RUSTC) panic-impl-provider.rs
$(RUSTC) panic-impl-consumer.rs -C panic=abort --emit=llvm-ir -L $(TMPDIR)