rust/src/test/run-make/inline-always-many-cgu/Makefile

9 lines
194 B
Makefile
Raw Normal View History

-include ../tools.mk
all:
$(RUSTC) foo.rs --emit llvm-ir -C codegen-units=2
if grep -w call $(TMPDIR)/*.ll; then \
echo "found call instruction when one wasn't expected"; \
exit 1; \
fi