Enum rustc_build_sysroot::BuildMode
source · [−]pub enum BuildMode {
Build,
Check,
}
Expand description
The build mode to use for this sysroot.
Variants
Build
Do a full sysroot build. Suited for all purposes (like the regular sysroot), but only works for the host or for targets that have suitable development tools installed.
Check
Do a check-only sysroot build. This is only suited for check-only builds of crates, but on the plus side it works for arbitrary targets without having any special tools installed.
Implementations
Trait Implementations
impl Copy for BuildMode
impl Eq for BuildMode
impl StructuralEq for BuildMode
impl StructuralPartialEq for BuildMode
Auto Trait Implementations
impl RefUnwindSafe for BuildMode
impl Send for BuildMode
impl Sync for BuildMode
impl Unpin for BuildMode
impl UnwindSafe for BuildMode
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