Skip to content

Commit

Permalink
Fix rust-lang#9030 rebase.
Browse files Browse the repository at this point in the history
  • Loading branch information
jameshilliard committed May 1, 2021
1 parent e797526 commit 62e2fd4
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/cargo/core/compiler/build_context/target_info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -712,17 +712,6 @@ impl<'cfg> RustcTargetData<'cfg> {
}
};

for kind in requested_kinds {
if let CompileKind::Target(target) = *kind {
let tcfg = config.target_cfg_triple(target.short_name())?;
target_config.insert(target, tcfg);
target_info.insert(
target,
TargetInfo::new(config, requested_kinds, &rustc, *kind)?,
);
}
}

let mut res = RustcTargetData {
rustc,
config,
Expand Down

0 comments on commit 62e2fd4

Please sign in to comment.