fork/rust

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

borsAuto merge of #71868 - Mark-Simulacrum:stable-1.43.1, r=pietroalbini8d69840ab92

1.43.1
163 B7 linesraw
1-include ../tools.mk
2
3# Regression test for ICE #18943 when compiling as lib
4
5all:
6	$(RUSTC) foo.rs --crate-type lib
7	$(call REMOVE_RLIBS,foo) && exit 0 || exit 1