# ignore-cross-compile
include ../tools.mk
all:
$(RUSTC) rlib.rs
$(RUSTC) dylib.rs
$(RUSTC) rlib.rs --crate-type=dylib
$(call REMOVE_DYLIBS,rlib)
$(RUSTC) prog.rs && exit 1 || exit 0