Skip to content

Commit

Permalink
Don't do cc detection for synthetic targets
Browse files Browse the repository at this point in the history
  • Loading branch information
saethlin committed May 21, 2024
1 parent e8fbd99 commit 51cf381
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/bootstrap/src/core/build_steps/synthetic_targets.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,5 @@ fn create_synthetic_target(
customize(spec_map);

std::fs::write(&path, serde_json::to_vec_pretty(&spec).unwrap()).unwrap();
let target = TargetSelection::create_synthetic(&name, path.to_str().unwrap());
crate::utils::cc_detect::find_target(builder, target);

target
TargetSelection::create_synthetic(&name, path.to_str().unwrap())
}

0 comments on commit 51cf381

Please sign in to comment.