rust/tests/run-make/separate-link/Makefile
2023-03-30 07:34:55 -05:00

7 lines
140 B
Makefile

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