wiwi::prelude_std::env

Module consts

1.0.0 · Source
Expand description

Constants associated with the current target

Constants§

  • A string describing the architecture of the CPU that is currently in use. An example value may be: "x86", "arm" or "riscv64".
  • Specifies the file extension, if any, used for shared libraries on this platform that goes after the dot. An example value may be: "so", "elf", or "dll".
  • Specifies the filename prefix, if any, used for shared libraries on this platform. This is either "lib" or an empty string. ("").
  • Specifies the filename suffix, if any, used for shared libraries on this platform. An example value may be: ".so", ".elf", or ".dll".
  • Specifies the file extension, if any, used for executable binaries on this platform. An example value may be: "exe", or an empty string ("").
  • Specifies the filename suffix, if any, used for executable binaries on this platform. An example value may be: ".exe", or ".efi".
  • A string describing the family of the operating system. An example value may be: "unix", or "windows".
  • A string describing the specific operating system in use. An example value may be: "linux", or "freebsd".