@@ -10,22 +10,22 @@ use std::path::{Path, PathBuf};
10
10
use std:: sync:: { Arc , LazyLock , Mutex } ;
11
11
use std:: { cmp, env} ;
12
12
13
- use anyhow:: { anyhow , Context , Result } ;
13
+ use anyhow:: { Context , Result , anyhow } ;
14
14
use git_testament:: { git_testament, render_testament} ;
15
15
use tracing:: { debug, error, info, trace, warn} ;
16
- use tracing_subscriber:: { reload :: Handle , EnvFilter , Registry } ;
16
+ use tracing_subscriber:: { EnvFilter , Registry , reload :: Handle } ;
17
17
18
18
use super :: self_update;
19
19
use crate :: {
20
20
cli:: download_tracker:: DownloadTracker ,
21
21
config:: Cfg ,
22
22
dist:: {
23
- manifest:: ComponentStatus , notifications as dist_notifications, TargetTriple , ToolchainDesc ,
23
+ TargetTriple , ToolchainDesc , manifest:: ComponentStatus , notifications as dist_notifications,
24
24
} ,
25
25
errors:: RustupError ,
26
26
install:: UpdateStatus ,
27
27
notifications:: Notification ,
28
- process:: { terminalsource , Process } ,
28
+ process:: { Process , terminalsource } ,
29
29
toolchain:: { DistributableToolchain , LocalToolchainName , Toolchain , ToolchainName } ,
30
30
utils:: { self , notifications as util_notifications, notify:: NotificationLevel } ,
31
31
} ;
@@ -654,7 +654,9 @@ pub(crate) fn warn_if_host_is_emulated(process: &Process) {
654
654
"Rustup is not running natively. It's running under emulation of {}." ,
655
655
TargetTriple :: from_host_or_build( process)
656
656
) ;
657
- warn ! ( "For best compatibility and performance you should reinstall rustup for your native CPU." ) ;
657
+ warn ! (
658
+ "For best compatibility and performance you should reinstall rustup for your native CPU."
659
+ ) ;
658
660
}
659
661
}
660
662
0 commit comments