Skip to content

Commit

Permalink
allow warnings in embedding crate, prevent constant rebuild of embedd…
Browse files Browse the repository at this point in the history
…ing 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.
  • Loading branch information
Mike Blumenkrantz committed May 1, 2014
1 parent 7dcdd1a commit 69e3b44
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile.in
Expand Up @@ -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: $@)
Expand Down

0 comments on commit 69e3b44

Please sign in to comment.