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§
Source§impl Ord for Features
impl Ord for Features
Source§impl PartialOrd for Features
impl PartialOrd for Features
impl Copy for Features
impl Eq for Features
impl StructuralPartialEq for Features
Auto Trait Implementations§
impl Freeze for Features
impl RefUnwindSafe for Features
impl Send for Features
impl Sync for Features
impl Unpin for Features
impl UnwindSafe for Features
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