1# config.site override for cross compiling to wasm32-wasi platform 2# 3# Written by Christian Heimes <christian@python.org> 4 5# cannot be detected in cross builds 6ac_cv_buggy_getaddrinfo=no 7 8# WASI has no /dev/pt* 9ac_cv_file__dev_ptmx=no 10ac_cv_file__dev_ptc=no 11 12# get/setrlimit are not supported 13ac_cv_header_sys_resource_h=no 14 15# undefined symbols / unsupported features 16ac_cv_func_eventfd=no 17 18# WASI SDK 15.0 has no pipe syscall. 19ac_cv_func_pipe=no 20 21# WASI SDK 15.0 cannot create fifos and special files. 22ac_cv_func_mkfifo=no 23ac_cv_func_mkfifoat=no 24ac_cv_func_mknod=no 25ac_cv_func_mknodat=no 26ac_cv_func_makedev=no 27 28# fdopendir() fails on SDK 15.0, 29# OSError: [Errno 28] Invalid argument: '.' 30ac_cv_func_fdopendir=no 31 32# WASI sockets are limited to operations on given socket fd and inet sockets. 33# Disable AF_UNIX and AF_PACKET support, see socketmodule.h. 34ac_cv_header_sys_un_h=no 35ac_cv_header_netpacket_packet_h=no 36 37# disable accept for WASM runtimes without sock_accept 38#ac_cv_func_accept=no 39#ac_cv_func_accept4=no 40 41# Disable int-conversion for wask-sdk as it triggers an error from version 17. 42ac_cv_disable_int_conversion=yes 43 44# preadv(), readv(), pwritev(), and writev() under wasmtime's WASI 0.2 support 45# do not use more than the first buffer provided, failing under test_posix. 46# Since wasmtime will not be changing this behaviour, disable the functions. 47# https://github.com/bytecodealliance/wasmtime/issues/7830 48ac_cv_func_preadv=no 49ac_cv_func_readv=no 50ac_cv_func_pwritev=no 51ac_cv_func_writev=no 52 53# WASI SDK 22 added multiple stubs which we don't implement. 54# https://github.com/python/cpython/issues/120371 55ac_cv_func_chmod=no 56ac_cv_func_fchmod=no 57ac_cv_func_fchmodat=no 58ac_cv_func_statvfs=no 59ac_cv_func_fstatvfs=no 60