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 b8be3af commit 5338bb2Copy full SHA for 5338bb2
src/cargo/core/compiler/build_context/target_info.rs
@@ -700,11 +700,7 @@ impl<'cfg> RustcTargetData<'cfg> {
700
if requested_kinds.iter().any(CompileKind::is_host) {
701
let ct = CompileTarget::new(&rustc.host)?;
702
target_info.insert(ct, host_info.clone());
703
- if target_applies_to_host {
704
- target_config.insert(ct, host_config.clone());
705
- } else {
706
- target_config.insert(ct, config.target_cfg_triple(&rustc.host)?);
707
- };
+ target_config.insert(ct, config.target_cfg_triple(&rustc.host)?);
708
};
709
710
let mut res = RustcTargetData {
0 commit comments