mirror of
https://github.com/servo/servo.git
synced 2025-08-08 06:55:31 +01:00
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.
This commit is contained in:
parent
7dcdd1a690
commit
69e3b44c32
1 changed files with 2 additions and 1 deletions
|
@ -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: $@)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue