We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 15598a8 commit 9fafffdCopy full SHA for 9fafffd
src/bootstrap/bin/rustc.rs
@@ -139,6 +139,12 @@ fn main() {
139
}
140
141
if verbose > 1 {
142
+ let rust_env_vars =
143
+ env::vars().filter(|(k, _)| k.starts_with("RUST") || k.starts_with("CARGO"));
144
+ for (i, (k, v)) in rust_env_vars.enumerate() {
145
+ eprintln!("rustc env[{}]: {:?}={:?}", i, k, v);
146
+ }
147
+ eprintln!("rustc working directory: {}", env::current_dir().unwrap().display());
148
eprintln!(
149
"rustc command: {:?}={:?} {:?}",
150
bootstrap::util::dylib_path_var(),
0 commit comments