Skip to main content

current_platform

Function current_platform 

Source
pub fn current_platform() -> Platform
👎Deprecated since 0.1.0:

Use Platform::current() instead

Expand description

Get the current platform based on compilation target

This function is deprecated. Use Platform::current() instead.