pub fn get_platform_info() -> PlatformInfo
Detects the current platform and returns platform information