Struct build_info_common::CompilerInfo [−][src]
pub struct CompilerInfo {
pub version: Version,
pub commit_id: Option<String>,
pub commit_date: Option<NaiveDate>,
pub channel: CompilerChannel,
pub host_triple: String,
pub target_triple: String,
}Expand description
rustc version and configuration
Fields
version: VersionVersion of the current rustc
commit_id: Option<String>Commit hash from which rustc was built
commit_date: Option<NaiveDate>Date on which rustc was built
channel: CompilerChannelChannel which was configured for this version of rustc
host_triple: StringIdentifies the host on which rustc was running
target_triple: StringIdentifies the target architecture for which the crate is being compiled
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for CompilerInfoimpl Send for CompilerInfoimpl Sync for CompilerInfoimpl Unpin for CompilerInfoimpl UnwindSafe for CompilerInfoBlanket Implementations
Mutably borrows from an owned value. Read more