We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1720239 commit cc15f59Copy full SHA for cc15f59
src/dist/dist.rs
@@ -468,22 +468,6 @@ impl TargetTriple {
468
}
469
470
471
-impl std::convert::TryFrom<PartialTargetTriple> for TargetTriple {
472
- type Error = &'static str;
473
- fn try_from(value: PartialTargetTriple) -> std::result::Result<Self, Self::Error> {
474
- if value.arch.is_some() && value.os.is_some() && value.env.is_some() {
475
- Ok(Self(format!(
476
- "{}-{}-{}",
477
- value.arch.unwrap(),
478
- value.os.unwrap(),
479
- value.env.unwrap()
480
- )))
481
- } else {
482
- Err("Incomplete / bad target triple")
483
- }
484
485
-}
486
-
487
impl FromStr for PartialToolchainDesc {
488
type Err = anyhow::Error;
489
fn from_str(name: &str) -> Result<Self> {
0 commit comments