Skip to content

Commit

Permalink
Add #[cfg(debug)] flag to rust suite compilation. Closes rust-lang#3068
Browse files Browse the repository at this point in the history
  • Loading branch information
z0w0 committed May 8, 2013
1 parent e6529c3 commit 3532350
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3532350

Please sign in to comment.