Skip to main content

get_current_platform

Function get_current_platform 

Source
pub fn get_current_platform() -> Result<Platform>
Expand description

Gets the current platform from the ALIEN_DEPLOYMENT_TYPE environment variable. This is used by the runtime to determine which platform-specific implementations to use.