GH-115983: skip building shared modules for testing under WASI (GH-116528)

This commit is contained in:
Brett Cannon 2024-03-13 16:25:50 -07:00 committed by GitHub
parent e39795f2cb
commit 8c094c3095
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 15 additions and 0 deletions

View file

@ -7398,11 +7398,19 @@ AS_CASE([$ac_sys_system],
[Emscripten/node*], [],
[WASI/*], [
dnl WASI SDK 15.0 does not support file locking, mmap, and more.
dnl Test modules that must be compiled as shared libraries are not supported
dnl (see Modules/Setup.stdlib.in).
PY_STDLIB_MOD_SET_NA(
[_ctypes_test],
[_testexternalinspection],
[_testimportmultiple],
[_testmultiphase],
[_testsinglephase],
[fcntl],
[mmap],
[termios],
[xxlimited],
[xxlimited_35],
)
]
)