diff options
author | Christian Heimes <christian@python.org> | 2022-06-24 10:40:43 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-24 10:40:43 (GMT) |
commit | 8625802d854ec0152177a6ff0ac092e0e3ff98a5 (patch) | |
tree | d401c4014ca633de8cbdbc9db7b57b2bbdb2bb21 /Tools/wasm | |
parent | ab077d1e17032f84514292ae3fb8dee9bcfd2ce9 (diff) | |
download | cpython-8625802d854ec0152177a6ff0ac092e0e3ff98a5.zip cpython-8625802d854ec0152177a6ff0ac092e0e3ff98a5.tar.gz cpython-8625802d854ec0152177a6ff0ac092e0e3ff98a5.tar.bz2 |
gh-84461: Fix ctypes and test_ctypes on Emscripten (#94142)
- c_longlong and c_longdouble need experimental WASM bigint.
- Skip tests that need threading
- Define ``CTYPES_MAX_ARGCOUNT`` for Emscripten. libffi-emscripten 2022-06-23 supports up to 1000 args.
Diffstat (limited to 'Tools/wasm')
-rw-r--r-- | Tools/wasm/README.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Tools/wasm/README.md b/Tools/wasm/README.md index 4a711a6..94b3729 100644 --- a/Tools/wasm/README.md +++ b/Tools/wasm/README.md @@ -173,6 +173,8 @@ functions. [bpo-46390](https://bugs.python.org/issue46390). - Python's object allocator ``obmalloc`` is disabled by default. - ``ensurepip`` is not available. +- Some ``ctypes`` features like ``c_longlong`` and ``c_longdouble`` may need + NodeJS option ``--experimental-wasm-bigint``. ## wasm32-emscripten in browsers |