File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -934,15 +934,15 @@ impl<'a> Cfg<'a> {
934
934
// against the 'stable' toolchain. This provides early errors
935
935
// if the supplied triple is insufficient / bad.
936
936
dist:: PartialToolchainDesc :: from_str ( "stable" ) ?
937
- . resolve ( & dist :: TargetTriple :: new ( host_triple. clone ( ) ) ) ?;
937
+ . resolve ( & TargetTriple :: new ( host_triple. clone ( ) ) ) ?;
938
938
self . settings_file . with_mut ( |s| {
939
939
s. default_host_triple = Some ( host_triple) ;
940
940
Ok ( ( ) )
941
941
} )
942
942
}
943
943
944
944
#[ tracing:: instrument( level = "trace" , skip_all) ]
945
- pub ( crate ) fn get_default_host_triple ( & self ) -> Result < dist :: TargetTriple > {
945
+ pub ( crate ) fn get_default_host_triple ( & self ) -> Result < TargetTriple > {
946
946
self . settings_file
947
947
. with ( |s| Ok ( get_default_host_triple ( s, self . process ) ) )
948
948
}
@@ -1010,11 +1010,11 @@ impl<'a> Debug for Cfg<'a> {
1010
1010
}
1011
1011
}
1012
1012
1013
- fn get_default_host_triple ( s : & Settings , process : & Process ) -> dist :: TargetTriple {
1013
+ fn get_default_host_triple ( s : & Settings , process : & Process ) -> TargetTriple {
1014
1014
s. default_host_triple
1015
1015
. as_ref ( )
1016
- . map ( dist :: TargetTriple :: new)
1017
- . unwrap_or_else ( || dist :: TargetTriple :: from_host_or_build ( process) )
1016
+ . map ( TargetTriple :: new)
1017
+ . unwrap_or_else ( || TargetTriple :: from_host_or_build ( process) )
1018
1018
}
1019
1019
1020
1020
fn non_empty_env_var ( name : & str , process : & Process ) -> anyhow:: Result < Option < String > > {
You can’t perform that action at this time.
0 commit comments