summaryrefslogtreecommitdiffstats
path: root/tests/run-make/llvm-outputs/Makefile
blob: a3f25eba0b2eaf10282f5db1dd5d5d2a8d96211d (plain)
1
2
3
4
5
include ../../run-make-fulldeps/tools.mk

all:
	echo 'fn main() {}' | $(BARE_RUSTC) - --out-dir=$(TMPDIR)/random_directory_that_does_not_exist_ir/ --emit=llvm-ir
	echo 'fn main() {}' | $(BARE_RUSTC) - --out-dir=$(TMPDIR)/random_directory_that_does_not_exist_bc/ --emit=llvm-bc