File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ use crate::{
19
19
cli:: download_tracker:: DownloadTracker ,
20
20
config:: Cfg ,
21
21
dist:: {
22
- manifest:: ComponentStatus , notifications as dist_notifications, PartialToolchainDesc ,
22
+ manifest:: ComponentStatus , notifications as dist_notifications,
23
23
TargetTriple , ToolchainDesc ,
24
24
} ,
25
25
install:: UpdateStatus ,
@@ -643,7 +643,7 @@ pub(crate) fn warn_if_host_is_incompatible(
643
643
target_triple : & TargetTriple ,
644
644
force_non_host : bool ,
645
645
) -> Result < ( ) > {
646
- if !force_non_host && !host_arch. can_run ( & target_triple) ? {
646
+ if !force_non_host && !host_arch. can_run ( target_triple) ? {
647
647
error ! ( "DEPRECATED: future versions of rustup will require --force-non-host to install a non-host toolchain." ) ;
648
648
warn ! ( "toolchain '{toolchain}' may not be able to run on this system." ) ;
649
649
warn ! ( "If you meant to build software to target that platform, perhaps try `rustup target add {target_triple}` instead?" ) ;
You can’t perform that action at this time.
0 commit comments