fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #69854 - pietroalbini:stable-next, r=Centrilb8cedc00407

1.42.0
274 B7 linesraw
1-include ../../run-make-fulldeps/tools.mk
2
3# NOTE we use --emit=llvm-ir to avoid running the linker (linking will fail because there's no main
4# in this crate)
5all:
6	$(RUSTC) panic-impl-provider.rs
7	$(RUSTC) panic-impl-consumer.rs -C panic=abort --emit=llvm-ir -L $(TMPDIR)