pub fn detect_runtime() -> RuntimeEnvironment
Classifies the current process runtime (cheap, side-effect free).