blob: 846c9a66a89a07a0473f58eef4c06f5f9cf6e24f (
plain)
1
2
3
4
5
6
7
8
|
# ignore-cross-compile
include ../tools.mk
all:
$(RUSTC) foo-bar.rs --crate-type bin
[ -f $(TMPDIR)/$(call BIN,foo-bar) ]
$(RUSTC) foo-bar.rs --crate-type lib
[ -f $(TMPDIR)/libfoo_bar.rlib ]
|