Function std::rt::running_on_valgrind[src]

pub fn running_on_valgrind() -> bool

Dynamically inquire about whether we're running under V. You should usually not use this unless your test definitely can't run correctly un-altered. Valgrind is there to help you notice weirdness in normal, un-doctored code paths!