blob: 39cc0708ca1ea9dbf8fc9ac9e83873ed35e16486 (
plain)
1
2
3
4
5
6
7
8
9
|
include ../tools.mk
all:
$(RUSTC) rlib.rs
$(RUSTC) dylib.rs
$(RUSTC) rlib.rs --crate-type=dylib
$(RUSTC) dylib.rs
$(call REMOVE_DYLIBS,rlib)
$(RUSTC) prog.rs && exit 1 || exit 0
|