rust/tests/run-make/panic-impl-transitive/Makefile
2023-03-30 07:34:55 -05:00

8 lines
273 B
Makefile

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)