diff --git a/Makefile.in b/Makefile.in index fd9af7c..88948ce 100644 --- a/Makefile.in +++ b/Makefile.in @@ -9,7 +9,7 @@ RUST_SRC=$(shell find $(VPATH)/. -type f -name '*.rs') all: libcore_graphics.dummy libcore_graphics.dummy: lib.rs $(RUST_SRC) - $(RUSTC) $(RUSTFLAGS) $< --lib --out-dir . + $(RUSTC) $(RUSTFLAGS) $< --crate-type=lib --out-dir . touch $@ core_graphics-test: lib.rs $(RUST_SRC) diff --git a/lib.rs b/lib.rs index eb7a079..8db9e27 100644 --- a/lib.rs +++ b/lib.rs @@ -9,8 +9,8 @@ #[crate_id = "github.com/mozilla-servo/rust-core-graphics#core_graphics:0.1"]; -extern mod std; -extern mod core_foundation; +extern crate std; +extern crate core_foundation; pub mod base; pub mod data_provider;