Add #[cfg(debug)] flag to rust suite compilation. Closes #3068

This commit is contained in:
Zack Corr 2013-05-08 20:02:16 +10:00
parent e6529c36af
commit 3532350016
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ endif
ifdef CFG_ENABLE_DEBUG
$(info cfg: enabling more debugging (CFG_ENABLE_DEBUG))
CFG_RUSTC_FLAGS +=
CFG_RUSTC_FLAGS += --cfg debug
CFG_GCCISH_CFLAGS += -DRUST_DEBUG
else
CFG_GCCISH_CFLAGS += -DRUST_NDEBUG