Skip to main content

platform

Function platform 

Source
pub fn platform() -> String
Expand description

Retrieves the platform string in the format ARCH-Os.

This function combines the architecture (e.g., x86_64) and the operating system (e.g., Linux) into a single string to identify the platform.