File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -491,11 +491,7 @@ impl Cfg {
491491 }
492492 }
493493
494- <<<<<<< HEAD
495494 pub ( crate ) fn which_binary ( & self , path : & Path , binary : & str ) -> Result < PathBuf > {
496- =======
497- pub ( crate ) fn which_binary ( & self , path : & Path , binary : & str ) -> Result < Option < PathBuf > > {
498- >>>>>>> 2 fcb8beb ( Make all src functions and structs crate -private)
499495 let ( toolchain, _) = self . find_or_install_override_toolchain_or_default ( path) ?;
500496 Ok ( toolchain. binary_file ( binary) )
501497 }
@@ -1012,13 +1008,9 @@ impl Cfg {
10121008 }
10131009
10141010 pub ( crate ) fn resolve_toolchain ( & self , name : & str ) -> Result < String > {
1015- <<<<<<< HEAD
10161011 // remove trailing slashes in toolchain name
10171012 let normalized_name = name. trim_end_matches ( '/' ) ;
10181013 if let Ok ( desc) = dist:: PartialToolchainDesc :: from_str ( normalized_name) {
1019- =======
1020- if let Ok ( desc) = dist:: PartialToolchainDesc :: from_str ( name ) {
1021- >>>>>>> 2 fcb8beb ( Make all src functions and structs crate -private)
10221014 let host = self . get_default_host_triple ( ) ?;
10231015 Ok ( desc. resolve ( & host) ?. to_string ( ) )
10241016 } else {
You can’t perform that action at this time.
0 commit comments