From 69e3b44c3293f7c9cc18e338c431d62ae8a4f808 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Mon, 28 Apr 2014 21:17:37 -0400 Subject: [PATCH] allow warnings in embedding crate, prevent constant rebuild of embedding crate the embedding crate contains 1800+ lines of types from an external library, most of which are not used or "rust"ically named. the former will change eventually, but we have no control over the naming. --- Makefile.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile.in b/Makefile.in index 1cb86de19b8..4ff905d65e7 100644 --- a/Makefile.in +++ b/Makefile.in @@ -347,13 +347,14 @@ libservo.dummy: $(DEPS_servo) $(Q)$(RUSTC) $(RFLAGS_servo) $< --crate-type dylib,rlib touch libservo.dummy -RFLAGS_embedding = $(strip $(CFG_RUSTC_FLAGS)) $(addprefix -L $(B)src/,$(DEPS_SUBMODULES)) -L $(B)src/components/gfx -L $(B)src/components/util -L $(B)src/components/net -L $(B)src/components/script -L $(B)src/components/style -L $(B)src/components/msg -L $(B).. -L $(B)src/components/main -L $(B)src/components/macros +RFLAGS_embedding = $(strip $(CFG_RUSTC_FLAGS)) $(addprefix -L $(B)src/,$(DEPS_SUBMODULES)) -L $(B)src/components/gfx -L $(B)src/components/util -L $(B)src/components/net -L $(B)src/components/script -L $(B)src/components/style -L $(B)src/components/msg -L $(B).. -L $(B)src/components/main -L $(B)src/components/macros -A non_camel_case_types -A unused_variable SRC_embedding = $(call rwildcard,$(S)src/components/embedding/,*.rs) CRATE_embedding = $(S)src/components/embedding/embedding.rs servo-embedding: libservo.dummy $(SRC_embedding) $(CRATE_embedding) @$(call E, compile: $@) $(Q)$(RUSTC) $(RFLAGS_embedding) $(CRATE_embedding) --crate-type dylib,rlib + touch servo-embedding else servo: $(DEPS_servo) @$(call E, compile: $@)