Struct cargo::util::Rustc[][src]

pub struct Rustc {
    pub path: PathBuf,
    pub wrapper: Option<PathBuf>,
    pub verbose_version: String,
    pub host: String,
    // some fields omitted
}

Information on the rustc executable

Fields

The location of the exe

An optional program that will be passed the path of the rust exe as its first argument, and rustc args following this.

Verbose version information (the output of rustc -vV)

The host triple (arch-platform-OS), this comes from verbose_version.

Methods

impl Rustc
[src]

Run the compiler at path to learn various pieces of information about it, with an optional wrapper.

If successful this function returns a description of the compiler along with a list of its capabilities.

Get a process builder set up to use the found rustc version, with a wrapper if Some

Trait Implementations

impl Debug for Rustc
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Rustc

impl Sync for Rustc