summaryrefslogtreecommitdiffstats
path: root/tests/run-make-fulldeps/panic-impl-transitive/Makefile
blob: c3192efcb5a08bb86a0bd8acaf872a6398390a66 (plain)
1
2
3
4
5
6
7
include ../../run-make-fulldeps/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)