Skip to main content

current_platform

Function current_platform 

Source
pub fn current_platform() -> PlatformKind
Expand description

Returns the active PlatformKind from the ambient Context.

ยงReturns

  • PlatformKind - Execution platform kind.