W3cubDocs

/Rust

Constant std::env::consts::EXE_SUFFIX

pub const EXE_SUFFIX: &'static str = os::EXE_SUFFIX

Specifies the filename suffix used for executable binaries on this platform. Example value is .exe.

Some possible values:

  • .exe
  • .nexe
  • .pexe
  • "" (an empty string)

© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/std/env/consts/constant.EXE_SUFFIX.html