@@ -861,10 +861,7 @@ fn does_not_use_empty_rustc_wrapper() {
861
861
#[ cargo_test]
862
862
fn does_not_use_empty_rustc_workspace_wrapper ( ) {
863
863
let p = project ( ) . file ( "src/lib.rs" , "" ) . build ( ) ;
864
- p. cargo ( "check -Zunstable-options" )
865
- . masquerade_as_nightly_cargo ( )
866
- . env ( "RUSTC_WORKSPACE_WRAPPER" , "" )
867
- . run ( ) ;
864
+ p. cargo ( "check" ) . env ( "RUSTC_WORKSPACE_WRAPPER" , "" ) . run ( ) ;
868
865
}
869
866
870
867
#[ cargo_test]
@@ -905,9 +902,8 @@ fn rustc_workspace_wrapper_affects_all_workspace_members() {
905
902
. file ( "baz/src/lib.rs" , "pub fn baz() {}" )
906
903
. build ( ) ;
907
904
908
- p. cargo ( "check -Zunstable-options " )
905
+ p. cargo ( "check" )
909
906
. env ( "RUSTC_WORKSPACE_WRAPPER" , paths:: echo_wrapper ( ) )
910
- . masquerade_as_nightly_cargo ( )
911
907
. with_stderr_contains ( "WRAPPER CALLED: rustc --crate-name bar [..]" )
912
908
. with_stderr_contains ( "WRAPPER CALLED: rustc --crate-name baz [..]" )
913
909
. run ( ) ;
@@ -939,9 +935,8 @@ fn rustc_workspace_wrapper_includes_path_deps() {
939
935
. file ( "baz/src/lib.rs" , "pub fn baz() {}" )
940
936
. build ( ) ;
941
937
942
- p. cargo ( "check --workspace -Zunstable-options " )
938
+ p. cargo ( "check --workspace" )
943
939
. env ( "RUSTC_WORKSPACE_WRAPPER" , paths:: echo_wrapper ( ) )
944
- . masquerade_as_nightly_cargo ( )
945
940
. with_stderr_contains ( "WRAPPER CALLED: rustc --crate-name foo [..]" )
946
941
. with_stderr_contains ( "WRAPPER CALLED: rustc --crate-name bar [..]" )
947
942
. with_stderr_contains ( "WRAPPER CALLED: rustc --crate-name baz [..]" )
@@ -965,9 +960,8 @@ fn rustc_workspace_wrapper_respects_primary_units() {
965
960
. file ( "baz/src/lib.rs" , "pub fn baz() {}" )
966
961
. build ( ) ;
967
962
968
- p. cargo ( "check -p bar -Zunstable-options " )
963
+ p. cargo ( "check -p bar" )
969
964
. env ( "RUSTC_WORKSPACE_WRAPPER" , paths:: echo_wrapper ( ) )
970
- . masquerade_as_nightly_cargo ( )
971
965
. with_stderr_contains ( "WRAPPER CALLED: rustc --crate-name bar [..]" )
972
966
. with_stdout_does_not_contain ( "WRAPPER CALLED: rustc --crate-name baz [..]" )
973
967
. run ( ) ;
@@ -999,9 +993,8 @@ fn rustc_workspace_wrapper_excludes_published_deps() {
999
993
1000
994
Package :: new ( "baz" , "1.0.0" ) . publish ( ) ;
1001
995
1002
- p. cargo ( "check --workspace -v -Zunstable-options " )
996
+ p. cargo ( "check --workspace -v" )
1003
997
. env ( "RUSTC_WORKSPACE_WRAPPER" , paths:: echo_wrapper ( ) )
1004
- . masquerade_as_nightly_cargo ( )
1005
998
. with_stderr_contains ( "WRAPPER CALLED: rustc --crate-name foo [..]" )
1006
999
. with_stderr_contains ( "WRAPPER CALLED: rustc --crate-name bar [..]" )
1007
1000
. with_stderr_contains ( "[CHECKING] baz [..]" )
0 commit comments