auto merge of #6326 : z0w0/rust/cfg-debug, r=yichoi
This commit is contained in:
commit
270b508174
@ -101,7 +101,7 @@ endif
|
|||||||
|
|
||||||
ifdef CFG_ENABLE_DEBUG
|
ifdef CFG_ENABLE_DEBUG
|
||||||
$(info cfg: enabling more debugging (CFG_ENABLE_DEBUG))
|
$(info cfg: enabling more debugging (CFG_ENABLE_DEBUG))
|
||||||
CFG_RUSTC_FLAGS +=
|
CFG_RUSTC_FLAGS += --cfg debug
|
||||||
CFG_GCCISH_CFLAGS += -DRUST_DEBUG
|
CFG_GCCISH_CFLAGS += -DRUST_DEBUG
|
||||||
else
|
else
|
||||||
CFG_GCCISH_CFLAGS += -DRUST_NDEBUG
|
CFG_GCCISH_CFLAGS += -DRUST_NDEBUG
|
||||||
|
Loading…
Reference in New Issue
Block a user