Add #[cfg(debug)] flag to rust suite compilation. Closes #3068
This commit is contained in:
parent
e6529c36af
commit
3532350016
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue