Skip to content

Commit a9f2daf

Browse files
[3.12] GH-115983: skip building shared modules for testing under WASI (GH-116528) (#120316)
GH-115983: skip building shared modules for testing under WASI (GH-116528) (cherry picked from commit 8c094c3) Co-authored-by: Brett Cannon <brett@python.org>
1 parent 7545b7c commit a9f2daf

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Skip building test modules that must be built as shared under WASI.

configure

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

configure.ac

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7300,11 +7300,19 @@ AS_CASE([$ac_sys_system],
73007300
[Emscripten/node*], [],
73017301
[WASI/*], [
73027302
dnl WASI SDK 15.0 does not support file locking, mmap, and more.
7303+
dnl Test modules that must be compiled as shared libraries are not supported
7304+
dnl (see Modules/Setup.stdlib.in).
73037305
PY_STDLIB_MOD_SET_NA(
73047306
[_ctypes_test],
7307+
[_testexternalinspection],
7308+
[_testimportmultiple],
7309+
[_testmultiphase],
7310+
[_testsinglephase],
73057311
[fcntl],
73067312
[mmap],
73077313
[termios],
7314+
[xxlimited],
7315+
[xxlimited_35],
73087316
)
73097317
]
73107318
)

0 commit comments

Comments
 (0)