Skip to content

Commit

Permalink
Merge pull request #2186 from kinnison/installer-default-host-consist…
Browse files Browse the repository at this point in the history
…ency

config: get_default_host_triple() should use from_host_or_build()
  • Loading branch information
kinnison authored Jan 14, 2020
2 parents df0894e + a985815 commit 991e56e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,7 @@ impl Cfg {
.as_ref()
.map(|s| dist::TargetTriple::new(&s)))
})?
.unwrap_or_else(dist::TargetTriple::from_build))
.unwrap_or_else(dist::TargetTriple::from_host_or_build))
}

pub fn resolve_toolchain(&self, name: &str) -> Result<String> {
Expand Down

0 comments on commit 991e56e

Please sign in to comment.