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

9 lines
188 B
Makefile

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