Created
November 13, 2014 22:30
-
-
Save cgaebel/d0c5ee19147a0f633071 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/Cargo.toml b/Cargo.toml | |
| index 92a6cdb..59e6fda 100644 | |
| --- a/Cargo.toml | |
| +++ b/Cargo.toml | |
| @@ -4,6 +4,9 @@ name = "html5ever" | |
| version = "0.0.0" | |
| authors = [ "The html5ever Project Developers" ] | |
| +[dependencies.time] | |
| +git = "https://github.com/rust-lang/time" | |
| + | |
| [dependencies.phf] | |
| git = "https://github.com/sfackler/rust-phf" | |
| [dependencies.phf_mac] | |
| diff --git a/Makefile.in b/Makefile.in | |
| index 664be6f..785f6b0 100644 | |
| --- a/Makefile.in | |
| +++ b/Makefile.in | |
| @@ -12,11 +12,14 @@ VPATH := %VPATH% | |
| RUSTC ?= rustc | |
| RUST_DIRS := -L $(VPATH)/target -L $(VPATH)/target/deps | |
| -RUSTC_CMD := $(RUSTC) -D warnings -C rpath $(RUST_DIRS) $(RUSTFLAGS) | |
| +TIME_LIB := $(shell find $(VPATH)/target/deps -name 'libtime-*.rlib') | |
| + | |
| +RUSTC_CMD := $(RUSTC) -D warnings -C rpath $(RUST_DIRS) --extern time=$(TIME_LIB) $(RUSTFLAGS) | |
| # We build the library itself using Cargo. | |
| CARGO_SOURCES := $(shell find $(VPATH)/src $(VPATH)/macros/src -type f -name '*.rs') | |
| + | |
| EXT_TEST_TOP_SRC := $(VPATH)/tests/html5ever-external-test.rs | |
| EXT_TEST_ALL_SRC := $(shell find $(VPATH)/tests -type f -name '*.rs') | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment