std::env::consts

Constant DLL_EXTENSION

1.0.0 ยท source
pub const DLL_EXTENSION: &str;
Expand description

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".

Full list of possible values
  • "so"
  • "dylib"
  • "dll"
  • "sgxs"
  • "a"
  • "elf"
  • "wasm"
  • "" (an empty string)