diff options
| author | Christiaan Dirkx <christiaan@dirkx.email> | 2021-04-12 05:58:30 +0200 | 
|---|---|---|
| committer | Christiaan Dirkx <christiaan@dirkx.email> | 2021-04-19 13:29:22 +0200 | 
| commit | 12120409d56ecfb5bd8ddd06bfecd0443b043834 (patch) | |
| tree | 84e16a54eade27bb3a9747cf473088d5e578d8dd /library/std/src/sys/unix/env.rs | |
| parent | 62652865b6029b4776a7c03efa13a37b15c9b953 (diff) | |
| download | rust-12120409d56ecfb5bd8ddd06bfecd0443b043834.tar.gz rust-12120409d56ecfb5bd8ddd06bfecd0443b043834.zip | |
Move `sys::vxworks` code to `sys::unix`
Diffstat (limited to 'library/std/src/sys/unix/env.rs')
| -rw-r--r-- | library/std/src/sys/unix/env.rs | 11 | 
1 files changed, 11 insertions, 0 deletions
| diff --git a/library/std/src/sys/unix/env.rs b/library/std/src/sys/unix/env.rs index 7f5e9b04dba..3a88dc083b0 100644 --- a/library/std/src/sys/unix/env.rs +++ b/library/std/src/sys/unix/env.rs @@ -173,3 +173,14 @@ pub mod os { pub const EXE_SUFFIX: &str = ""; pub const EXE_EXTENSION: &str = ""; } + +#[cfg(target_os = "vxworks")] +pub mod os { + pub const FAMILY: &str = "unix"; + pub const OS: &str = "vxworks"; + pub const DLL_PREFIX: &str = "lib"; + pub const DLL_SUFFIX: &str = ".so"; + pub const DLL_EXTENSION: &str = "so"; + pub const EXE_SUFFIX: &str = ""; + pub const EXE_EXTENSION: &str = ""; +} | 
