Enum cargo_sysroot::Features
source · [−]pub enum Features {
CompilerBuiltinsMem,
CompilerBuiltinsC,
CompilerBuiltinsNoAsm,
}
Expand description
Features to enable when building the sysroot crates
See SysrootBuilder::features
for usage.
Variants
CompilerBuiltinsMem
This enables the mem
feature of compiler_builtins
,
which will provide memory related intrinsics such as memcpy
.
CompilerBuiltinsC
This enables the c
feature of compiler_builtins
,
which enables compilation of C
code and may result in more
optimized implementations, and fills in the rare unimplemented
intrinsics.
CompilerBuiltinsNoAsm
This enables the no-asm
feature of compiler_builtins
,
which disables any implementations which use
inline assembly and fall back to pure Rust versions (if available).
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Features
impl UnwindSafe for Features
Blanket Implementations
Mutably borrows from an owned value. Read more