Skip to content
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

Merged
merged 4 commits into from
Aug 3, 2022
Merged

wasmer-cli: create-obj command #3057

merged 4 commits into from
Aug 3, 2022

Conversation

epilys
Copy link
Contributor

@epilys epilys commented Aug 1, 2022

No description provided.

@epilys epilys added this to the v3.0 milestone Aug 1, 2022
@epilys epilys self-assigned this Aug 1, 2022
lib/compiler/Cargo.toml Outdated Show resolved Hide resolved
Comment on lines 45 to 48
/// FIXME
Universal(UniversalArtifact),
/// FIXME
Static(StaticArtifact),
Copy link
Member

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)

Copy link
Contributor Author

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

@epilys epilys force-pushed the create-obj branch 2 times, most recently from 3085ae9 to 16465ee Compare August 2, 2022 12:53
@epilys epilys changed the title [WIP] wasmer-cli: create-obj command wasmer-cli: create-obj command Aug 2, 2022
@epilys epilys marked this pull request as ready for review August 2, 2022 12:56
@syrusakbary
Copy link
Member

Once lint is fixed we should be good to merge

lib/compiler: read static object
@epilys
Copy link
Contributor Author

epilys commented Aug 3, 2022

bors r+

@bors
Copy link
Contributor

bors bot commented Aug 3, 2022

Build succeeded:

@bors bors bot merged commit 2ea62aa into master Aug 3, 2022
@bors bors bot deleted the create-obj branch August 3, 2022 08:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants