Skip to content

Commit 991e56e

Browse files
authored
Merge pull request #2186 from kinnison/installer-default-host-consistency
config: get_default_host_triple() should use from_host_or_build()
2 parents df0894e + a985815 commit 991e56e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -666,7 +666,7 @@ impl Cfg {
666666
.as_ref()
667667
.map(|s| dist::TargetTriple::new(&s)))
668668
})?
669-
.unwrap_or_else(dist::TargetTriple::from_build))
669+
.unwrap_or_else(dist::TargetTriple::from_host_or_build))
670670
}
671671

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

0 commit comments

Comments
 (0)