std::rt: Enforce sanity a while longer
I'm not comfortable turning off rtassert! yet
This commit is contained in:
parent
2690b51350
commit
bbe347cee7
@ -20,7 +20,8 @@
|
||||
use unstable::running_on_valgrind;
|
||||
|
||||
// Indicates whether we should perform expensive sanity checks, including rtassert!
|
||||
pub static ENFORCE_SANITY: bool = !cfg!(rtopt) || cfg!(rtdebug) || cfg!(rtassert);
|
||||
// XXX: Once the runtime matures remove the `true` below to turn off rtassert, etc.
|
||||
pub static ENFORCE_SANITY: bool = true || !cfg!(rtopt) || cfg!(rtdebug) || cfg!(rtassert);
|
||||
|
||||
/// Get the number of cores available
|
||||
pub fn num_cpus() -> uint {
|
||||
|
Loading…
Reference in New Issue
Block a user