pub enum CcCompilerFamily {
Gcc,
Clang,
AppleClang,
}Expand description
Compiler family, which decides how the identity is assembled.
Variants§
Gcc
GCC, which compiles objects through an external assembler.
Clang
Upstream LLVM clang.
AppleClang
Apple’s clang distribution.
Implementations§
Source§impl CcCompilerFamily
impl CcCompilerFamily
Sourcepub fn uses_external_assembler(self) -> bool
pub fn uses_external_assembler(self) -> bool
Whether objects are produced through a separate assembler binary whose version therefore belongs in the identity.
Sourcepub fn classify(probe: &str) -> Result<Self, CcBypassReason>
pub fn classify(probe: &str) -> Result<Self, CcBypassReason>
Classify a driver from its verbose probe output.
Trait Implementations§
Source§impl Clone for CcCompilerFamily
impl Clone for CcCompilerFamily
Source§fn clone(&self) -> CcCompilerFamily
fn clone(&self) -> CcCompilerFamily
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CcCompilerFamily
Source§impl Debug for CcCompilerFamily
impl Debug for CcCompilerFamily
impl Eq for CcCompilerFamily
Source§impl PartialEq for CcCompilerFamily
impl PartialEq for CcCompilerFamily
impl StructuralPartialEq for CcCompilerFamily
Auto Trait Implementations§
impl Freeze for CcCompilerFamily
impl RefUnwindSafe for CcCompilerFamily
impl Send for CcCompilerFamily
impl Sync for CcCompilerFamily
impl Unpin for CcCompilerFamily
impl UnsafeUnpin for CcCompilerFamily
impl UnwindSafe for CcCompilerFamily
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