summaryrefslogtreecommitdiffstats
path: root/tests/run-make/no-builtins-attribute/Makefile
blob: 0ce95facaea48dd280ce167808636cac6a03947d (plain)
1
2
3
4
5
6
7
8
9
include ../tools.mk

# We want to check if `no-builtins` is also added to the function declarations in the used crate.

all:
	$(RUSTC) no_builtins.rs --emit=link
	$(RUSTC) main.rs --emit=llvm-ir

	cat "$(TMPDIR)"/main.ll | "$(LLVM_FILECHECK)" filecheck.main.txt