Skip to main content

apply_env_toggles

Function apply_env_toggles 

Source
pub fn apply_env_toggles(common: &GlobalArgs)
Expand description

Apply CLI-flag toggles for env-driven knobs by mirroring them into env vars. This is how --debug / --no-telemetry reach core code that reads SOCKET_DEBUG / SOCKET_TELEMETRY_DISABLED directly. Idempotent and a no-op when the flags are off.