pub enum SysrootConfig<'a> {
NoStd,
WithStd {
std_features: &'a [&'a str],
},
}
Expand description
Settings controlling how the sysroot will be built.
Variants
NoStd
Build a no-std (core-only) sysroot.
WithStd
Fields
std_features: &'a [&'a str]
Features to enable for the std
crate.
Build a full sysroot with the std
and test
crates.
Trait Implementations
sourceimpl<'a> Clone for SysrootConfig<'a>
impl<'a> Clone for SysrootConfig<'a>
sourcefn clone(&self) -> SysrootConfig<'a>
fn clone(&self) -> SysrootConfig<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<'a> Debug for SysrootConfig<'a>
impl<'a> Debug for SysrootConfig<'a>
impl<'a> Copy for SysrootConfig<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for SysrootConfig<'a>
impl<'a> Send for SysrootConfig<'a>
impl<'a> Sync for SysrootConfig<'a>
impl<'a> Unpin for SysrootConfig<'a>
impl<'a> UnwindSafe for SysrootConfig<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more