std::env::consts

Constant EXE_EXTENSION

1.0.0 ยท Source
pub const EXE_EXTENSION: &str;
Expand description

Specifies the file extension, if any, used for executable binaries on this platform. An example value may be: "exe", or an empty string ("").

Full list of possible values
  • "exe"
  • "efi"
  • "js"
  • "sgxs"
  • "elf"
  • "wasm"
  • "" (an empty string)