Lines Matching full:rustc
2 //! compiler support. Code snippets are dynamically tested to see if the `rustc`
32 //! If the type test succeeds, this will write a `cargo:rustc-cfg=has_i128` line
85 rustc: PathBuf, field
92 /// Writes a config flag for rustc on standard out.
94 /// This looks like: `cargo:rustc-cfg=CFG`
96 /// Cargo will use this in arguments to rustc, like `--cfg CFG`.
98 println!("cargo:rustc-cfg={}", cfg); in emit()
105 /// This requires at least cargo 0.7.0, corresponding to rustc 1.6.0. Earlier
116 /// This requires at least cargo 0.21.0, corresponding to rustc 1.20.0. Earlier
136 /// - `rustc` can't be executed, from `RUSTC` or in the `PATH`.
137 /// - The version output from `rustc` can't be parsed.
151 /// - `rustc` can't be executed, from `RUSTC` or in the `PATH`.
152 /// - The version output from `rustc` can't be parsed.
156 let rustc = env::var_os("RUSTC").unwrap_or_else(|| "rustc".into()); in with_dir() localVariable
157 let rustc: PathBuf = rustc.into(); in with_dir() localVariable
158 let rustc_version = try!(Version::from_rustc(&rustc)); in with_dir()
172 rustc: rustc, in with_dir()
191 /// Test whether the current `rustc` reports a version greater than
198 /// if the current `rustc` is at least that version.
210 let mut command = Command::new(&self.rustc); in probe()
227 let mut stdin = child.stdin.take().expect("rustc stdin"); in probe()