-
Notifications
You must be signed in to change notification settings - Fork 13
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
Running example #45
Comments
Hi @stevesloka; thanks for the report. Regarding the first issue: hello.wit does not export When I have a few minutes, I'll add a CLI example to the repo for reference. Regarding the second error: that wasm-tools command is for turning a core module into a component, not vice versa. And there's no way in general to convert a component into a core module, since a component is often made up of multiple core modules. Components generated by |
#46 adds a CLI example (and fixes a |
Thanks for the explanation and examples @dicej! I have a better understanding of how this all fits together, thanks for bearing with me through all of it and explaining. I'm still trying to get the example you have in your PR to work, ran into a different error which I commented on. Once I get an example running locally, I think it will help out my mental model of everything. |
I'm looking to get the example in the readme working. I have the component wasm compiled via this command:
Now I want to run this via
wasmtime
but that gives me this error:I thought I could convert this to a core module with
wasm-tools
but that gives me a different error:Ideally I'd like to take Python and covert it into wasm much like how it's done in Javy (https://github.com/bytecodealliance/javy) where the output of
javy compile
is code that I can execute withwasmtime <output>.wasm
.Thanks for any help or ideas! =)
The text was updated successfully, but these errors were encountered: