Skip to content

Commit

Permalink
Update for crate_id removal
Browse files Browse the repository at this point in the history
  • Loading branch information
sfackler committed Jul 7, 2014
1 parent 473131f commit a0ab8d7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Makefile.in
Expand Up @@ -4,11 +4,11 @@ RUSTFLAGS := -O --cfg ndebug
INSTALL_DIR := %PREFIX%

PHF_LIB := phf/src/lib.rs
PHF := $(foreach file,$(shell $(RUSTC) --crate-file-name $(PHF_LIB)),$(BUILDDIR)/$(file))
PHF := $(foreach file,$(shell $(RUSTC) --print-file-name $(PHF_LIB)),$(BUILDDIR)/$(file))
PHF_MAC_LIB := phf_mac/src/lib.rs
PHF_MAC := $(BUILDDIR)/$(shell $(RUSTC) --crate-file-name $(PHF_MAC_LIB))
PHF_MAC := $(BUILDDIR)/$(shell $(RUSTC) --print-file-name $(PHF_MAC_LIB))
PHF_TEST_MAIN := phf/src/test.rs
PHF_TEST := $(BUILDDIR)/$(shell $(RUSTC) --crate-file-name $(PHF_TEST_MAIN))
PHF_TEST := $(BUILDDIR)/$(shell $(RUSTC) --print-file-name $(PHF_TEST_MAIN))

all: $(PHF) $(PHF_MAC)

Expand Down
2 changes: 1 addition & 1 deletion phf/src/lib.rs
@@ -1,5 +1,5 @@
//! Compile time optimized maps
#![crate_id="github.com/sfackler/rust-phf/phf"]
#![crate_name="phf"]
#![doc(html_root_url="http://www.rust-ci.org/sfackler")]
#![crate_type="rlib"]
#![crate_type="dylib"]
Expand Down
2 changes: 1 addition & 1 deletion phf_mac/src/lib.rs
@@ -1,7 +1,7 @@
//! Compiler plugin for Rust-PHF
//!
//! See the documentation for the `phf` crate for more details.
#![crate_id="github.com/sfackler/rust-phf/phf_mac"]
#![crate_name="phf_mac"]
#![crate_type="dylib"]
#![doc(html_root_url="http://sfackler.github.io/rust-phf/doc")]
#![feature(plugin_registrar, quote)]
Expand Down

0 comments on commit a0ab8d7

Please sign in to comment.