mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-08 09:38:26 +03:00
disable lang debug for perf
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user