rust/tests/run-make/separate-link/Makefile

8 lines
163 B
Makefile
Raw Normal View History

# 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)