pub fn detect_platform() -> PlatformInfo
Detect the current compile-target platform and preferred package format.