W3cubDocs

/Rust

Constant std::env::consts::DLL_EXTENSION

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

Specifies the file extension used for shared libraries on this platform that goes after the dot. Example value is so.

Some possible values:

  • so
  • dylib
  • dll

© 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.DLL_EXTENSION.html