fork/rust

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

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

1.39.0
210 B8 linesraw
1-include ../tools.mk
2
3all:
4	$(RUSTC) foo.rs --emit llvm-ir -C codegen-units=2
5	if cat $(TMPDIR)/*.ll | $(CGREP) -e '\bcall\b'; then \
6		echo "found call instruction when one wasn't expected"; \
7		exit 1; \
8	fi