-
-
Notifications
You must be signed in to change notification settings - Fork 115
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
Error running componentized wasip1 module #2153
Comments
@ospencer it looks like I could use some of those pointers... 😅 |
This comment was marked as outdated.
This comment was marked as outdated.
Ah this is two separate errors smushed together:
|
I was helping @lann debug this a bit and I'm definitely new here to Grain so take this with a grain of salt. From the component/adapter side of things, however, one major thing that the adapter will do which Grain may not be expecting is that it will use It looks like Grain's allocator will use |
@lann I've got this repository here which has a couple of examples of Grain components: a basic command component, a wasi:http/proxy one, and a wasi:http/imports one. https://github.com/ospencer/grain-components Each of the subfolders has a basic README with instructions on how to compile the Grain modules and then the right @alexcrichton is exactly right—the compiler doesn't export Finishing up the bindgen/documenting it all/baking it into the toolchain has been on the TODO list for awhile 😅 But this should all work! |
This'll happen because Grain's initialization code runs as a part of |
If you run into other issues, feel free to ping me here or on Discord/Slack! |
The text was updated successfully, but these errors were encountered: