pub struct CompilerIdentity {
pub zic_rs_version: &'static str,
pub rustc: Option<&'static str>,
pub target: String,
pub profile: &'static str,
pub git_commit: Option<&'static str>,
}Expand description
Which tool build produced the output (T15.5). rustc/git_commit/full target-triple are honestly
unknown here because the project deliberately has no build.rs to capture them — disclosed, not
faked. zic_rs_version is the crate version; target is an arch-os approximation; profile is
debug/release.
Fields§
§zic_rs_version: &'static str§rustc: Option<&'static str>§target: String§profile: &'static str§git_commit: Option<&'static str>Implementations§
Trait Implementations§
Source§impl Clone for CompilerIdentity
impl Clone for CompilerIdentity
Source§fn clone(&self) -> CompilerIdentity
fn clone(&self) -> CompilerIdentity
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 moreAuto Trait Implementations§
impl Freeze for CompilerIdentity
impl RefUnwindSafe for CompilerIdentity
impl Send for CompilerIdentity
impl Sync for CompilerIdentity
impl Unpin for CompilerIdentity
impl UnsafeUnpin for CompilerIdentity
impl UnwindSafe for CompilerIdentity
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