rust/tests/run-make/simple-dylib/Makefile

7 lines
136 B
Makefile

# ignore-cross-compile
include ../tools.mk
all:
$(RUSTC) bar.rs --crate-type=dylib -C prefer-dynamic
$(RUSTC) foo.rs
$(call RUN,foo)