mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-02 15:32:06 +00:00
Add #[cfg(debug)] flag to rust suite compilation. Closes #3068
This commit is contained in:
parent
e6529c36af
commit
3532350016
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user