Struct cargo::util::Rustc
[−]
[src]
pub struct Rustc { pub path: PathBuf, pub wrapper: Option<PathBuf>, pub verbose_version: String, pub host: String, }
Fields
path: PathBuf
wrapper: Option<PathBuf>
verbose_version: String
host: String
Methods
impl Rustc
[src]
fn new(path: PathBuf, wrapper: Option<PathBuf>) -> CargoResult<Rustc>
Run the compiler at path
to learn various pieces of information about
it.
If successful this function returns a description of the compiler along with a list of its capabilities.