File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -1679,6 +1679,7 @@ fn _process(t: &OsStr) -> cargo::util::ProcessBuilder {
16791679 . env_remove ( "XDG_CONFIG_HOME" ) // see #2345
16801680 . env ( "GIT_CONFIG_NOSYSTEM" , "1" ) // keep trying to sandbox ourselves
16811681 . env_remove ( "EMAIL" )
1682+ . env_remove ( "USER" ) // not set on some rust-lang docker images
16821683 . env_remove ( "MFLAGS" )
16831684 . env_remove ( "MAKEFLAGS" )
16841685 . env_remove ( "CARGO_MAKEFLAGS" )
Original file line number Diff line number Diff line change @@ -992,6 +992,7 @@ root: [..]
992992fn new_warning_with_corrupt_ws ( ) {
993993 let p = project ( ) . file ( "Cargo.toml" , "asdf" ) . build ( ) ;
994994 p. cargo ( "new bar" )
995+ . env ( "USER" , "foo" )
995996 . with_stderr (
996997 "\
997998 [WARNING] compiling this new crate may not work due to invalid workspace configuration
You can’t perform that action at this time.
0 commit comments