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

9 lines
170 B
Makefile

include ../tools.mk
all:
$(RUSTC) bar.rs --crate-type=dylib --crate-type=rlib
ls $(TMPDIR)/$(call RLIB_GLOB,bar)
$(RUSTC) foo.rs
rm $(TMPDIR)/*bar*
$(call RUN,foo)