https://bytecodealliance.zulipchat.com/#narrow/stream/394175-SIG-Guest-Languages/topic/Python.20subgroup/near/450807393
Requires #120371 since WASI SDK 22 is required. But this supposedly has some socket support! Downside is any runtime that doesn't support preview2 won't be able to use the file. That probably means adding a flag to wasi.py to control for the target triple as it's currently hard-coded:
|
HOST_TRIPLE = "wasm32-wasi" |
Linked PRs
https://bytecodealliance.zulipchat.com/#narrow/stream/394175-SIG-Guest-Languages/topic/Python.20subgroup/near/450807393
Requires #120371 since WASI SDK 22 is required. But this supposedly has some socket support! Downside is any runtime that doesn't support preview2 won't be able to use the file. That probably means adding a flag to
wasi.pyto control for the target triple as it's currently hard-coded:cpython/Tools/wasm/wasi.py
Line 23 in e8c91d9
Linked PRs
wasm32-wasip2#123029wasi.pyaccept the host target triple as an argument #123030wasi.pyaccept the host target triple as an argument (GH-123030) #123042