diff --git a/Cargo.toml b/Cargo.toml index c069c6d..473de13 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,5 +10,8 @@ build = "./prebuild" name = "http" path = "src/http/lib.rs" +[dependencies.url] +git = "https://github.com/servo/rust-url.git" + [dependencies.openssl] git = "https://github.com/sfackler/rust-openssl.git" diff --git a/Makefile.servo.in b/Makefile.servo.in index a77d22a..246e4cc 100644 --- a/Makefile.servo.in +++ b/Makefile.servo.in @@ -14,7 +14,7 @@ libhttp_files=$(shell find $(VPATH)/src/http/ -type f -name '*.rs') \ all: libhttp.dummy codegen: $(wildcard $(VPATH)/src/codegen/*.rs) - $(RUSTC) $(HOST_RUSTFLAGS) $(VPATH)/src/codegen/main.rs -o codegen + $(RUSTC) $(HOST_RUSTFLAGS) $(VPATH)/src/codegen/main.rs -o target/codegen $(VPATH)/src/http/generated: mkdir -p $(VPATH)/src/http/generated