pyodide/cpython
Hood Chatham ea444c11bb
Fix support for JSPI when there is no type reflection (#5129)
The new JSPI does not require wasm type reflection, so it's possible that JS runtimes will have JSPI support but no type reflection, for instance if they are enrolled in the JSPI origin trial or have the JSPI flag on but not the type reflection flag.

If type reflection is missing, we fall back to attempting to instantiate a dummy module that imports a function with a given signature. This will raise a LinkerError if the signature is wrong. By trying all four possibilities, we learn the actual signature of the function.
2024-11-11 11:38:38 +01:00
..
patches Fix support for JSPI when there is no type reflection (#5129) 2024-11-11 11:38:38 +01:00
Makefile Make cpython build respect debug mode (#5038) 2024-08-28 14:45:01 +02:00
README.md Link to @dgym 2019-03-18 21:33:32 -07:00
Setup.local Python3.11 (#3252) 2023-01-23 19:45:59 -08:00
adjust_sysconfig.py Change wheel tag from emscripten to pyodide (#4777) 2024-05-21 12:30:01 -04:00

README.md

Credits

Based on the hard work of @dgym on cpython-emscripten.