We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bfeac6c commit 87cda5bCopy full SHA for 87cda5b
src/bootstrap/src/core/build_steps/llvm.rs
@@ -1374,7 +1374,7 @@ impl Step for Libunwind {
1374
if file.is_file() && file.extension() == Some(OsStr::new("o")) {
1375
// file name starts with "Unwind-EHABI", "Unwind-seh" or "libunwind"
1376
let file_name = file.file_name().unwrap().to_str().expect("UTF-8 file name");
1377
- if cpp_sources.iter().any(|f| file_name.starts_with(&f[..f.len() - 4])) {
+ if cpp_sources.iter().any(|f| file_name.contains(&f[..f.len() - 4])) {
1378
cc_cfg.object(&file);
1379
count += 1;
1380
}
0 commit comments