@@ -1097,7 +1097,7 @@ async fn target_list(
1097
1097
quiet : bool ,
1098
1098
) -> Result < utils:: ExitCode > {
1099
1099
// downcasting required because the toolchain files can name any toolchain
1100
- let distributable = DistributableToolchain :: from_partial ( toolchain, cfg) . await ?;
1100
+ let distributable = DistributableToolchain :: from_partial ( toolchain, cfg) ?;
1101
1101
common:: list_items (
1102
1102
distributable,
1103
1103
|c| {
@@ -1124,7 +1124,7 @@ async fn target_add(
1124
1124
// isn't a feature yet.
1125
1125
// list_components *and* add_component would both be inappropriate for
1126
1126
// custom toolchains.
1127
- let distributable = DistributableToolchain :: from_partial ( toolchain, cfg) . await ?;
1127
+ let distributable = DistributableToolchain :: from_partial ( toolchain, cfg) ?;
1128
1128
let components = distributable. components ( ) ?;
1129
1129
1130
1130
if targets. contains ( & "all" . to_string ( ) ) {
@@ -1168,7 +1168,7 @@ async fn target_remove(
1168
1168
targets : Vec < String > ,
1169
1169
toolchain : Option < PartialToolchainDesc > ,
1170
1170
) -> Result < utils:: ExitCode > {
1171
- let distributable = DistributableToolchain :: from_partial ( toolchain, cfg) . await ?;
1171
+ let distributable = DistributableToolchain :: from_partial ( toolchain, cfg) ?;
1172
1172
1173
1173
for target in targets {
1174
1174
let target = TargetTriple :: new ( target) ;
@@ -1204,7 +1204,7 @@ async fn component_list(
1204
1204
quiet : bool ,
1205
1205
) -> Result < utils:: ExitCode > {
1206
1206
// downcasting required because the toolchain files can name any toolchain
1207
- let distributable = DistributableToolchain :: from_partial ( toolchain, cfg) . await ?;
1207
+ let distributable = DistributableToolchain :: from_partial ( toolchain, cfg) ?;
1208
1208
common:: list_items (
1209
1209
distributable,
1210
1210
|c| Some ( & c. name ) ,
@@ -1220,7 +1220,7 @@ async fn component_add(
1220
1220
toolchain : Option < PartialToolchainDesc > ,
1221
1221
target : Option < String > ,
1222
1222
) -> Result < utils:: ExitCode > {
1223
- let distributable = DistributableToolchain :: from_partial ( toolchain, cfg) . await ?;
1223
+ let distributable = DistributableToolchain :: from_partial ( toolchain, cfg) ?;
1224
1224
let target = get_target ( target, & distributable) ;
1225
1225
1226
1226
for component in & components {
@@ -1246,7 +1246,7 @@ async fn component_remove(
1246
1246
toolchain : Option < PartialToolchainDesc > ,
1247
1247
target : Option < String > ,
1248
1248
) -> Result < utils:: ExitCode > {
1249
- let distributable = DistributableToolchain :: from_partial ( toolchain, cfg) . await ?;
1249
+ let distributable = DistributableToolchain :: from_partial ( toolchain, cfg) ?;
1250
1250
let target = get_target ( target, & distributable) ;
1251
1251
1252
1252
for component in & components {
@@ -1447,7 +1447,7 @@ async fn doc(
1447
1447
mut topic : Option < & str > ,
1448
1448
doc_page : & DocPage ,
1449
1449
) -> Result < utils:: ExitCode > {
1450
- let toolchain = cfg. toolchain_from_partial ( toolchain) . await ?;
1450
+ let toolchain = cfg. toolchain_from_partial ( toolchain) ?;
1451
1451
1452
1452
if let Ok ( distributable) = DistributableToolchain :: try_from ( & toolchain) {
1453
1453
if let [ _] = distributable
@@ -1508,7 +1508,7 @@ async fn man(
1508
1508
command : & str ,
1509
1509
toolchain : Option < PartialToolchainDesc > ,
1510
1510
) -> Result < utils:: ExitCode > {
1511
- let toolchain = cfg. toolchain_from_partial ( toolchain) . await ?;
1511
+ let toolchain = cfg. toolchain_from_partial ( toolchain) ?;
1512
1512
let path = toolchain. man_path ( ) ;
1513
1513
utils:: assert_is_directory ( & path) ?;
1514
1514
0 commit comments