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

add validate subcommand #323

Merged
merged 3 commits into from
Apr 4, 2019
Merged

add validate subcommand #323

merged 3 commits into from
Apr 4, 2019

Conversation

MarkMcCaskey
Copy link
Contributor

No description provided.

@syrusakbary
Copy link
Member

bors r+

bors bot added a commit that referenced this pull request Apr 3, 2019
323: add validate subcommand r=syrusakbary a=MarkMcCaskey



Co-authored-by: Mark McCaskey <mark@wasmer.io>
));
}

wabt::Module::read_binary(wasm_binary, &Default::default())
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Runtime has a validate method:

pub use wasmer_runtime_core::{compile_with, validate};

It may be lighterweight solution than wabt.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, I think we'd want better error messages than yes or no, I'll look in to the functions that that validate fn calls

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for pointing this out!

@MarkMcCaskey
Copy link
Contributor Author

bors r-

@bors
Copy link
Contributor

bors bot commented Apr 4, 2019

Canceled

@MarkMcCaskey
Copy link
Contributor Author

bors r+

@bors
Copy link
Contributor

bors bot commented Apr 4, 2019

Merge conflict

@MarkMcCaskey
Copy link
Contributor Author

bors r+

bors bot added a commit that referenced this pull request Apr 4, 2019
323: add validate subcommand r=MarkMcCaskey a=MarkMcCaskey



Co-authored-by: Mark McCaskey <mark@wasmer.io>
Co-authored-by: Mark McCaskey <markmccaskey@users.noreply.github.com>
@bors
Copy link
Contributor

bors bot commented Apr 4, 2019

@bors bors bot merged commit 03b529d into master Apr 4, 2019
@bors bors bot deleted the add-validate branch April 4, 2019 04:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🎉 enhancement New feature!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants