about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2013-05-05 07:43:43 -0400
committerNiko Matsakis <niko@alum.mit.edu>2013-05-05 07:43:43 -0400
commit6806900a7c63950feb2540347fc3f94d83074bbd (patch)
tree939733c1fa60f3c56cc222243607d194428363d5 /src
parent989d008124d62f7c1284633e6619db1a9e8b6598 (diff)
downloadrust-6806900a7c63950feb2540347fc3f94d83074bbd.tar.gz
rust-6806900a7c63950feb2540347fc3f94d83074bbd.zip
disable lang debug for perf
Diffstat (limited to 'src')
-rw-r--r--src/libcore/unstable/lang.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/unstable/lang.rs b/src/libcore/unstable/lang.rs
index 5a65a5c24bb..6b61df31fdc 100644
--- a/src/libcore/unstable/lang.rs
+++ b/src/libcore/unstable/lang.rs
@@ -152,7 +152,7 @@ pub unsafe fn exchange_malloc(td: *c_char, size: uintptr_t) -> *c_char {
 
 /// Because this code is so perf. sensitive, use a static constant so that
 /// debug printouts are compiled out most of the time.
-static ENABLE_DEBUG: bool = true;
+static ENABLE_DEBUG: bool = false;
 
 #[inline]
 pub fn debug_mem<T>(tag: &'static str, p: *const T) {