esgleam/mod/platform

Types

pub type Arch {
  X64
  Ia32
  Arm64
  Arm
  Ppc64
}

Constructors

  • X64
  • Ia32
  • Arm64
  • Arm
  • Ppc64
pub type OsName {
  Win32
  Linux
  Darwin
  Solaris
  Sunos
  Freebsd
  Openbsd
}

Constructors

  • Win32
  • Linux
  • Darwin
  • Solaris
  • Sunos
  • Freebsd
  • Openbsd

Functions

pub fn get_arch() -> Result(Arch, Nil)
pub fn get_exe_name() -> String
pub fn get_os() -> Result(OsName, Nil)
pub fn get_package_name() -> String
Search Document