From 64667651ef9f37f5ec8cda48992fca9720510dae Mon Sep 17 00:00:00 2001 From: Lars Bergstrom Date: Tue, 4 Mar 2014 08:40:40 -0800 Subject: [PATCH] Rust upgrade --- Makefile.in | 2 +- lib.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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;