pub struct CcCompilerIdentity {
pub family: CcCompilerFamily,
pub version_text: String,
pub target: String,
pub assembler: String,
}Expand description
Compiler properties that distinguish incompatible objects.
Fields§
§family: CcCompilerFamilyDriver family.
version_text: StringComplete verbose probe output, verbatim.
target: StringTarget triple the driver reports.
assembler: StringResolved assembler and its version, for families that use one.
GCC assembles through binutils, whose version changes object bytes
without changing anything gcc -v prints. Clang assembles internally,
so this is empty there.
Trait Implementations§
Source§impl Clone for CcCompilerIdentity
impl Clone for CcCompilerIdentity
Source§fn clone(&self) -> CcCompilerIdentity
fn clone(&self) -> CcCompilerIdentity
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 moreSource§impl Debug for CcCompilerIdentity
impl Debug for CcCompilerIdentity
impl Eq for CcCompilerIdentity
Source§impl PartialEq for CcCompilerIdentity
impl PartialEq for CcCompilerIdentity
impl StructuralPartialEq for CcCompilerIdentity
Auto Trait Implementations§
impl Freeze for CcCompilerIdentity
impl RefUnwindSafe for CcCompilerIdentity
impl Send for CcCompilerIdentity
impl Sync for CcCompilerIdentity
impl Unpin for CcCompilerIdentity
impl UnsafeUnpin for CcCompilerIdentity
impl UnwindSafe for CcCompilerIdentity
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