W3cubDocs

/Rust

Constant std::env::consts::EXE_EXTENSION

pub const EXE_EXTENSION: &str

Specifies the file extension, if any, used for executable binaries on this platform. Example value is exe.

Some possible values:

  • exe
  • "" (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_EXTENSION.html