From fbc10c3851c4fbaf463275ad7b667111da077ff9 Mon Sep 17 00:00:00 2001 From: Cody P Schafer Date: Mon, 9 Mar 2015 16:33:48 -0400 Subject: [PATCH] configure: have --enable-debug set -C debug-assertions=on so `debug!()` works again --- mk/main.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mk/main.mk b/mk/main.mk index c00494be47c..4bfc65ad843 100644 --- a/mk/main.mk +++ b/mk/main.mk @@ -130,7 +130,7 @@ ifdef CFG_DISABLE_DEBUG CFG_RUSTC_FLAGS += --cfg ndebug else $(info cfg: enabling more debugging (CFG_ENABLE_DEBUG)) - CFG_RUSTC_FLAGS += --cfg debug + CFG_RUSTC_FLAGS += --cfg debug -C debug-assertions=on endif ifdef SAVE_TEMPS