Module std::rt::util

Just stuff Just stuff

Statics

pub static ENFORCE_SANITY: bool = true || !cfg!(rtopt) || cfg!(rtdebug) || cfg!(rtassert);  

Functions

abort
default_sched_threads

Get's the number of scheduler threads requested by the environment either RUST_THREADS or num_cpus.

dumb_println
get_exit_status
limit_thread_creation_due_to_osx_and_valgrind
num_cpus

Get the number of cores available

set_exit_status