summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-06-06 18:09:51 (GMT)
committerGitHub <noreply@github.com>2022-06-06 18:09:51 (GMT)
commit6787a8f1466737f813c5095df93ae4dcd699c6df (patch)
tree876cd1bcc8168baf081c344a4e92a5f65407074f /Tools
parent986ce4e6138d2d14f0f3d1ed394ee5ee69486b12 (diff)
downloadcpython-6787a8f1466737f813c5095df93ae4dcd699c6df.zip
cpython-6787a8f1466737f813c5095df93ae4dcd699c6df.tar.gz
cpython-6787a8f1466737f813c5095df93ae4dcd699c6df.tar.bz2
gh-90473: Make chmod a dummy on WASI, skip chmod tests (GH-93534) (GH-93550)
WASI does not have the ``chmod(2)`` syscall yet. (cherry picked from commit 22fed605e096eb74f3aa33f6d25aee76fdc2a3fa) Co-authored-by: Christian Heimes <christian@python.org>
Diffstat (limited to 'Tools')
-rw-r--r--Tools/wasm/config.site-wasm32-wasi5
1 files changed, 5 insertions, 0 deletions
diff --git a/Tools/wasm/config.site-wasm32-wasi b/Tools/wasm/config.site-wasm32-wasi
index a6fcbed..f151b7b 100644
--- a/Tools/wasm/config.site-wasm32-wasi
+++ b/Tools/wasm/config.site-wasm32-wasi
@@ -35,6 +35,11 @@ ac_cv_func_fdopendir=no
# WASIX stubs we don't want to use.
ac_cv_func_kill=no
+# WASI SDK 15.0 does not have chmod.
+# Ignore WASIX stubs for now.
+ac_cv_func_chmod=no
+ac_cv_func_fchmod=no
+
# WASI sockets are limited to operations on given socket fd and inet sockets.
# Disable AF_UNIX and AF_PACKET support, see socketmodule.h.
ac_cv_header_sys_un_h=no