pub enum SysrootConfig {
NoStd,
WithStd {
std_features: Vec<String>,
},
}
Expand description
Settings controlling how the sysroot will be built.
Variants§
NoStd
Build a no-std (only core and alloc) sysroot.
WithStd
Build a full sysroot with the std
and test
crates.
Trait Implementations§
Source§impl Clone for SysrootConfig
impl Clone for SysrootConfig
Source§fn clone(&self) -> SysrootConfig
fn clone(&self) -> SysrootConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SysrootConfig
impl Debug for SysrootConfig
Source§impl Hash for SysrootConfig
impl Hash for SysrootConfig
Source§impl PartialEq for SysrootConfig
impl PartialEq for SysrootConfig
impl Eq for SysrootConfig
impl StructuralPartialEq for SysrootConfig
Auto Trait Implementations§
impl Freeze for SysrootConfig
impl RefUnwindSafe for SysrootConfig
impl Send for SysrootConfig
impl Sync for SysrootConfig
impl Unpin for SysrootConfig
impl UnwindSafe for SysrootConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.