summaryrefslogtreecommitdiffstats
path: root/tests/run-make/panic-impl-transitive/Makefile
blob: 9a271a22e10dd48546c4642bd167cd634f4bc781 (plain)
1
2
3
4
5
6
7
include ../tools.mk

# 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)