Skip to main content

current_platform

Function current_platform 

Source
pub fn current_platform() -> String
Expand description

Get the current platform string.

Format: {os}-{arch} where:

  • os: “darwin”, “linux”, “windows”
  • arch: “x86_64”, “arm64”, “aarch64”