File tree 1 file changed +0
-11
lines changed
collector/src/bin/rustc-perf-collector
1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -232,17 +232,6 @@ impl<'a> CargoProcess<'a> {
232
232
cmd
233
233
// Not all cargo invocations (e.g. `cargo clean`) need all of these
234
234
// env vars set, but it doesn't hurt to have them.
235
- . env_clear ( )
236
- // SHELL is needed for some benchmarks' build scripts.
237
- . env ( "SHELL" , env:: var_os ( "SHELL" ) . unwrap_or_default ( ) )
238
- // PATH is needed to find things like linkers used by rustc/Cargo.
239
- . env ( "PATH" , env:: var_os ( "PATH" ) . unwrap_or_default ( ) )
240
- // HOME is needed for cargo to find its home directory.
241
- . env ( "HOME" , env:: var_os ( "HOME" ) . unwrap_or_default ( ) )
242
- . env (
243
- "RUSTC_THREAD_COUNT" ,
244
- env:: var_os ( "RUSTC_THREAD_COUNT" ) . unwrap_or_default ( ) ,
245
- )
246
235
. env ( "RUSTC" , & * FAKE_RUSTC )
247
236
. env ( "RUSTC_REAL" , & self . compiler . rustc )
248
237
. env (
You can’t perform that action at this time.
0 commit comments