#[non_exhaustive]pub enum Env {
Show 14 variants
None,
Eabihf,
Gnu,
Gnueabihf,
Msvc,
Musl,
Newlib,
Nto70,
Nto71,
OhOS,
Psx,
Relibc,
Sgx,
UClibc,
}
Expand description
target_env
: target environment that disambiguates the target platform by ABI / libc.
This value is closely related to the fourth element of the platform target triple,
though it is not identical. For example, embedded ABIs such as gnueabihf
will simply
define target_env
as "gnu"
(i.e. target::Env::GNU
)
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
None
``: None
Eabihf
eabihf
Gnu
gnu
: The GNU C Library (glibc)
Gnueabihf
gnueabihf
Msvc
msvc
: Microsoft Visual C(++)
Musl
musl
: Clean, efficient, standards-conformant libc implementation.
Newlib
newlib
Nto70
nto70
Nto71
nto71
OhOS
ohos
Psx
psx
Relibc
relibc
Sgx
sgx
: Intel Software Guard Extensions (SGX) Enclave
UClibc
uclibc
: C library for developing embedded Linux systems
Implementations§
Trait Implementations§
source§impl Ord for Env
impl Ord for Env
source§impl PartialOrd<Env> for Env
impl PartialOrd<Env> for Env
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Env
impl Eq for Env
impl StructuralEq for Env
impl StructuralPartialEq for Env
Auto Trait Implementations§
impl RefUnwindSafe for Env
impl Send for Env
impl Sync for Env
impl Unpin for Env
impl UnwindSafe for Env
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more