std::rt: Enforce sanity a while longer

I'm not comfortable turning off rtassert! yet
This commit is contained in:
Brian Anderson 2013-08-19 10:10:27 -07:00
parent 2690b51350
commit bbe347cee7

View File

@ -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 {