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 {
1679
1679
. env_remove ( "XDG_CONFIG_HOME" ) // see #2345
1680
1680
. env ( "GIT_CONFIG_NOSYSTEM" , "1" ) // keep trying to sandbox ourselves
1681
1681
. env_remove ( "EMAIL" )
1682
+ . env_remove ( "USER" ) // not set on some rust-lang docker images
1682
1683
. env_remove ( "MFLAGS" )
1683
1684
. env_remove ( "MAKEFLAGS" )
1684
1685
. env_remove ( "CARGO_MAKEFLAGS" )
Original file line number Diff line number Diff line change @@ -992,6 +992,7 @@ root: [..]
992
992
fn new_warning_with_corrupt_ws ( ) {
993
993
let p = project ( ) . file ( "Cargo.toml" , "asdf" ) . build ( ) ;
994
994
p. cargo ( "new bar" )
995
+ . env ( "USER" , "foo" )
995
996
. with_stderr (
996
997
"\
997
998
[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