-
Notifications
You must be signed in to change notification settings - Fork 52
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
Add embed
option to polywrap codegen
#1893
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Super minor NIT, other than this looks great!
Not sure why CI is not green though, need to get that fixed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should there be a scalibility concern if there are many embedded wraps/large amounts of data passed into the gateway where the bindgen wraps are hosted?
Not saying we should worry about it now. Just askin' if it makes sense to ocnsider it for the future
it seems that the rebuild of the wraps is broken due to a wrong path (weird, right?) I am debugging that in #1890 |
This is a great point. In the future, if this feature becomes more important, we can build it out differently. For example, we could generate bindings for one embedded wrap at a time. |
This PR adds a
--embed
option topolywrap codegen
. When the option is specified, code for embedded wraps will be generated.See Rust implementation: polywrap/wrap-abi-bindgen#107
Closes #1703