summaryrefslogtreecommitdiffstats
path: root/tests/run-make/separate-link/Makefile
blob: d01158d9f5fb0b61393582209b18af7187aacbbc (plain)
1
2
3
4
5
6
7
# ignore-cross-compile
include ../tools.mk

all:
	echo 'fn main(){}' | $(RUSTC) -Z no-link -
	$(RUSTC) -Z link-only $(TMPDIR)/rust_out.rlink
	$(call RUN,rust_out)