-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wasmtime bindgen get_terminal_stdin
NotImplementedError when using WIT component
#202
Comments
Ah I think this is a bug in the bindings generator. Would be good to have a fix, but I alas don't have time to take a look at this at this time. |
+1 on this, do you maybe have had some time to look into this already @alexcrichton ? Is there any other way of getting |
Alas I still do not have time to look into this, but assistance in helping to fix issues in the bindings would be much appreciated! |
To clarify the issue here: I do plan to revisit that and add an option to stub out WASI imports in |
BTW, there are two things missing in
Both of those items would require significant effort. |
I went ahead and dug into this on the |
I'm attempting to follow along with https://github.com/bytecodealliance/componentize-py to write a python WASM component that returns "Hello World!", and import that WASM module into python to execute it.
I have a
hello.wit
hello.py
I can build the WASM file with
componentize-py -d hello.wit hello bindings . componentize-py -d hello.wit -w hello componentize app -o hello.wasm
but when I try to start the process of utilizing this module, I run into an error with
wasmtime.bindgen
My versions from
poetry show
I'm not sure if I'm maybe missing a step, or when the breaking change was introduced.
Related:
bytecodealliance/component-docs#84
#197
If I find a version combination that works I'll report back :)
The text was updated successfully, but these errors were encountered: