Skip to content

Commit fbd8b43

Browse files
committed
rust: disable extensions validation for iOS builds
These were broken in CI when the validation was added a few commits ago. I don't care too much about the iOS builds. So let's just disable the new validation. This should hopefully turn CI green again.
1 parent e075c7e commit fbd8b43

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/validation.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1250,11 +1250,17 @@ fn validate_extension_modules(
12501250
) -> Result<Vec<String>> {
12511251
let mut errors = vec![];
12521252

1253+
let is_ios = target_triple.contains("-apple-ios");
12531254
let is_macos = target_triple.contains("-apple-darwin");
12541255
let is_linux = target_triple.contains("-unknown-linux-");
12551256
let is_windows = target_triple.contains("-pc-windows-");
12561257
let is_linux_musl = target_triple.contains("-unknown-linux-musl");
12571258

1259+
// iOS isn't well supported. So don't do any validation.
1260+
if is_ios {
1261+
return Ok(errors);
1262+
}
1263+
12581264
let mut wanted = BTreeSet::from_iter(GLOBAL_EXTENSIONS.iter().map(|x| *x));
12591265

12601266
match python_major_minor {

0 commit comments

Comments
 (0)