mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
auto merge of #744 : kmcallister/servo/debug, r=metajack
This commit is contained in:
commit
89c5083f86
1 changed files with 4 additions and 1 deletions
|
@ -29,7 +29,10 @@ B := $(CFG_BUILD_DIR)
|
||||||
|
|
||||||
MKFILE_DEPS := config.stamp $(call rwildcard,$(S)mk/,*)
|
MKFILE_DEPS := config.stamp $(call rwildcard,$(S)mk/,*)
|
||||||
|
|
||||||
CFG_RUSTC_FLAGS := $(RUSTFLAGS)
|
# Enable debug!() etc even without configure --enable-debug
|
||||||
|
# The evaluation of these prints & their arguments is controlled
|
||||||
|
# at runtime by the environment variable RUST_LOG.
|
||||||
|
CFG_RUSTC_FLAGS := $(RUSTFLAGS) --cfg debug
|
||||||
|
|
||||||
ifdef CFG_DISABLE_OPTIMIZE
|
ifdef CFG_DISABLE_OPTIMIZE
|
||||||
$(info cfg: disabling rustc optimization (CFG_DISABLE_OPTIMIZE))
|
$(info cfg: disabling rustc optimization (CFG_DISABLE_OPTIMIZE))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue