rust/tests/run-make-fulldeps/prefer-dylib/Makefile
2023-01-11 09:32:08 +00: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)