Skip to content

Commit fc51144

Browse files
committed
Allow _wmi
1 parent 5b3edf8 commit fc51144

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
@@ -798,6 +798,8 @@ const GLOBAL_EXTENSIONS_WINDOWS: &[&str] = &[
798798
"winsound",
799799
];
800800

801+
const GLOBAL_EXTENSIONS_WINDOWS_3_14: &[&str] = &["_wmi"];
802+
801803
const GLOBAL_EXTENSIONS_WINDOWS_PRE_3_13: &[&str] = &["_msi"];
802804

803805
/// Extension modules not present in Windows static builds.
@@ -1542,6 +1544,10 @@ fn validate_extension_modules(
15421544
wanted.extend(GLOBAL_EXTENSIONS_WINDOWS_PRE_3_13);
15431545
}
15441546

1547+
if matches!(python_major_minor, "3.14") {
1548+
wanted.extend(GLOBAL_EXTENSIONS_WINDOWS_3_14);
1549+
}
1550+
15451551
if static_crt {
15461552
for x in GLOBAL_EXTENSIONS_WINDOWS_NO_STATIC {
15471553
wanted.remove(*x);

0 commit comments

Comments
 (0)