diff options
| author | ivmarkov <ivan.markov@gmail.com> | 2021-07-29 20:18:22 +0300 | 
|---|---|---|
| committer | ivmarkov <imarkov@vmware.com> | 2021-08-10 12:09:00 +0300 | 
| commit | 459eaa6baea4127b37769d0b7944fa00c175e770 (patch) | |
| tree | 100c65b39f217096a01f3c0f256a672bfeaacd42 /library/std/src/sys/unix/env.rs | |
| parent | ae90dcf0207c57c3034f00b07048d63f8b2363c8 (diff) | |
| download | rust-459eaa6baea4127b37769d0b7944fa00c175e770.tar.gz rust-459eaa6baea4127b37769d0b7944fa00c175e770.zip | |
STD support for the ESP-IDF framework
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 3a88dc083b0..60551aeb3e7 100644 --- a/library/std/src/sys/unix/env.rs +++ b/library/std/src/sys/unix/env.rs @@ -184,3 +184,14 @@ pub mod os { pub const EXE_SUFFIX: &str = ""; pub const EXE_EXTENSION: &str = ""; } + +#[cfg(target_os = "espidf")] +pub mod os { + pub const FAMILY: &str = "unix"; + pub const OS: &str = "espidf"; + 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 = ""; +} | 
