@@ -932,47 +932,6 @@ async fn list_default_and_override_toolchain() {
932
932
. await ;
933
933
}
934
934
935
- #[ tokio:: test]
936
- async fn heal_damaged_toolchain ( ) {
937
- let mut cx = CliTestContext :: new ( Scenario :: SimpleV2 ) . await ;
938
- cx. config . expect_ok ( & [ "rustup" , "default" , "nightly" ] ) . await ;
939
- cx. config
940
- . expect_not_stderr_ok ( & [ "rustup" , "which" , "rustc" ] , "syncing channel updates" )
941
- . await ;
942
- let manifest_path = format ! (
943
- "toolchains/nightly-{}/lib/rustlib/multirust-channel-manifest.toml" ,
944
- this_host_triple( )
945
- ) ;
946
-
947
- let mut rustc_path = cx. config . rustupdir . join (
948
- [
949
- "toolchains" ,
950
- & format ! ( "nightly-{}" , this_host_triple( ) ) ,
951
- "bin" ,
952
- "rustc" ,
953
- ]
954
- . iter ( )
955
- . collect :: < PathBuf > ( ) ,
956
- ) ;
957
-
958
- if cfg ! ( windows) {
959
- rustc_path. set_extension ( "exe" ) ;
960
- }
961
-
962
- fs:: remove_file ( cx. config . rustupdir . join ( manifest_path) ) . unwrap ( ) ;
963
- cx. config
964
- . expect_ok_ex (
965
- & [ "rustup" , "which" , "rustc" ] ,
966
- & format ! ( "{}\n " , rustc_path. to_str( ) . unwrap( ) ) ,
967
- for_host ! ( "info: syncing channel updates for 'nightly-{0}'\n " ) ,
968
- )
969
- . await ;
970
- cx. config . expect_ok ( & [ "rustup" , "default" , "nightly" ] ) . await ;
971
- cx. config
972
- . expect_stderr_ok ( & [ "rustup" , "which" , "rustc" ] , "syncing channel updates" )
973
- . await ;
974
- }
975
-
976
935
#[ tokio:: test]
977
936
#[ ignore = "FIXME: Windows shows UNC paths" ]
978
937
async fn show_toolchain_override ( ) {
0 commit comments