Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use external process to generate componentize-py wasm binary
Invoking the `componentize_py.componentize()` directly in process was affecting the state of wasmtime somehow that resulted in `test_instance.py` failing: ``` tests/test_instance.py ............Fatal Python error: Illegal instruction Current thread 0x00000001e8d86100 (most recent call first): File "wasmtime-py/wasmtime/_bindings.py", line 2792 in wasmtime_instance_new File "wasmtime-py/wasmtime/_instance.py", line 34 in __init__ File "wasmtime-py/tests/test_instance.py", line 179 in test_start_trap Illegal instruction: 4 ``` Don't know the root cause, but calling `componentize-py` in a separate process fixes this issue.
- Loading branch information