Lines Matching full:rustc
10 pub struct Rustc { struct
11 rustc: PathBuf, field
16 impl Rustc { impl
18 Rustc { in new()
19 rustc: env::var_os("RUSTC") in new()
20 .unwrap_or_else(|| "rustc".into()) in new()
29 let mut rustc = self in command() localVariable
33 .chain(Some(&self.rustc)); in command()
34 let mut command = Command::new(rustc.next().unwrap()); in command()
35 for arg in rustc { in command()
41 /// Try to get the `rustc` version.
53 let rustc = &self.rustc; in version() localVariable
56 try_version!(Command::new(rw).args(&[rww, rustc])); in version()
58 try_version!(Command::new(rw).arg(rustc)); in version()
61 try_version!(Command::new(rww).arg(rustc)); in version()
63 Version::from_command(&mut Command::new(rustc)) in version()