Skip to main content

runtime_context

Function runtime_context 

Source
pub fn runtime_context() -> &'static RuntimeContext
Expand description

Get the global runtime context (detected lazily on first call).

All modules should use this instead of reading env vars directly. The context is immutable after first detection.