Don't do cc detection for synthetic targets

This commit is contained in:
Ben Kimock 2024-05-21 11:24:19 -04:00
parent e8fbd99128
commit 51cf3815ce

View File

@ -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())
}