pub fn current_platform() -> Platform
Get the current platform based on compilation target
This function is deprecated. Use Platform::current() instead.
Platform::current()