summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2024-07-16 20:00:39 (GMT)
committerGitHub <noreply@github.com>2024-07-16 20:00:39 (GMT)
commitf589f263bcb54332e47bfc76cbb06f775e82b778 (patch)
treebe0c344031a96a87c275f570d03274c3ca0f0261 /Tools
parente65cb4c6f01a687f451ad9db1600525e1c5832c4 (diff)
downloadcpython-f589f263bcb54332e47bfc76cbb06f775e82b778.zip
cpython-f589f263bcb54332e47bfc76cbb06f775e82b778.tar.gz
cpython-f589f263bcb54332e47bfc76cbb06f775e82b778.tar.bz2
GH-120371: Add WASI SDK 22 support (GH-121870)
Required disabling stub functions now provided by wasi-libc.
Diffstat (limited to 'Tools')
-rw-r--r--Tools/wasm/config.site-wasm32-wasi8
1 files changed, 8 insertions, 0 deletions
diff --git a/Tools/wasm/config.site-wasm32-wasi b/Tools/wasm/config.site-wasm32-wasi
index 4a1a466..c5d8b3e 100644
--- a/Tools/wasm/config.site-wasm32-wasi
+++ b/Tools/wasm/config.site-wasm32-wasi
@@ -49,3 +49,11 @@ ac_cv_func_preadv=no
ac_cv_func_readv=no
ac_cv_func_pwritev=no
ac_cv_func_writev=no
+
+# WASI SDK 22 added multiple stubs which we don't implement.
+# https://github.com/python/cpython/issues/120371
+ac_cv_func_chmod=no
+ac_cv_func_fchmod=no
+ac_cv_func_fchmodat=no
+ac_cv_func_statvfs=no
+ac_cv_func_fstatvfs=no