Skip to content

Commit 938f9ce

Browse files
committed
Include _xxsubinterpreters in 3.8 extensions
1 parent a1ee6c7 commit 938f9ce

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/validation.rs

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -680,7 +680,13 @@ const GLOBAL_EXTENSIONS: &[&str] = &[
680680
// We didn't build ctypes_test until 3.9.
681681
// We didn't build some test extensions until 3.9.
682682

683-
const GLOBAL_EXTENSIONS_PYTHON_3_8: &[&str] = &["audioop", "_sha256", "_sha512", "parser"];
683+
const GLOBAL_EXTENSIONS_PYTHON_3_8: &[&str] = &[
684+
"audioop",
685+
"_sha256",
686+
"_sha512",
687+
"parser",
688+
"_xxsubinterpreters",
689+
];
684690

685691
const GLOBAL_EXTENSIONS_PYTHON_3_9: &[&str] = &[
686692
"audioop",
@@ -1952,7 +1958,7 @@ fn validate_distribution(
19521958
// Static distributions never export symbols.
19531959
let wanted = if is_static {
19541960
false
1955-
// For some strange reason _PyWarnings_Init is exported as part of the ABI before
1961+
// For some strange reason _PyWarnings_Init is exported as part of the ABI before
19561962
// Python 3.13.
19571963
} else if name == "_warnings" {
19581964
matches!(python_major_minor, "3.8" | "3.9" | "3.10" | "3.11" | "3.12")

0 commit comments

Comments
 (0)