mirror of https://github.com/pyodide/pyodide.git
ea444c11bb
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. |
||
---|---|---|
.. | ||
patches | ||
Makefile | ||
README.md | ||
Setup.local | ||
adjust_sysconfig.py |
README.md
Credits
Based on the hard work of @dgym on cpython-emscripten.