pub fn binary_command(binary_name: String) -> crate::Result<String> {
  Ok(format!(
    "{}-{}",
    binary_name,
    platform::target_triple().map_err(|e| crate::Error::FailedToDetectPlatform(e.to_string()))?
  ))
}
/// Gets the binary command with the current target triple.
Gets the binary command with the current target triple.
Gets the binary command with the current target triple .
pub fn binary_command(binary_name: String) -> crate::Result<String> {
  Ok(format!(
    "{}-{}",
    binary_name,
    platform::target_triple().map_err(|e| crate::Error::FailedToDetectPlatform(e.to_string()))?
  ))
}
pub fn binary_command ( binary_name : String ) -> crate :: Result < String > { Ok ( format ! ( " " binary_name platform target_triple ( ) map_err ( e crate Error FailedToDetectPlatform ( e to_string ( ) ) ) ) ) }
Gets the binary command with the current target triple.
Gets the binary command with the current target triple .
binary_name
String
binary_name
String