-
Notifications
You must be signed in to change notification settings - Fork 824
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
wasmer-cli: create-obj command #3057
Conversation
lib/compiler/src/engine/artifact.rs
Outdated
/// FIXME | ||
Universal(UniversalArtifact), | ||
/// FIXME | ||
Static(StaticArtifact), |
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.
I don't think this is the optimal way of doing this. Basically both of them shared the finished functions, signatures and so on.
The only different thing is frame_info_registration
and _symbol_registry
. But that's only needed when using loading the artifact. In case of frame_info_registration
is already optional, and perhaps we can make _symbol_registry is only needed at loading time (not really needed to store it)
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.
No it isn't the optimal way, but it was the fastest way to get it working, next step is making it prettier as you say
…-artifact-load`,`static-artifact-create` feature flags
3085ae9
to
16465ee
Compare
Once lint is fixed we should be good to merge |
lib/compiler: read static object
bors r+ |
Build succeeded: |
No description provided.