2017-10-11 10:47:47 -05:00
|
|
|
-include ../tools.mk
|
|
|
|
|
|
|
|
all:
|
2021-01-11 13:27:59 -06:00
|
|
|
$(RUSTC) foo.rs --emit llvm-ir -C codegen-units=2
|
2017-11-23 09:19:50 -06:00
|
|
|
if cat $(TMPDIR)/*.ll | $(CGREP) -e '\bcall\b'; then \
|
2017-10-11 10:47:47 -05:00
|
|
|
echo "found call instruction when one wasn't expected"; \
|
|
|
|
exit 1; \
|
|
|
|
fi
|