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

feat(runtime-c-api) Improve error message when instantiating a module #493

Merged

Conversation

Hywan
Copy link
Contributor

@Hywan Hywan commented Jun 12, 2019

This patch improves the error message returned by wasmer_module_instantiate.

@Hywan Hywan added 🎉 enhancement New feature! 📦 lib-c-api About wasmer-c-api labels Jun 12, 2019
@Hywan Hywan requested a review from bjfish June 12, 2019 09:38
@Hywan Hywan self-assigned this Jun 12, 2019
@Hywan
Copy link
Contributor Author

Hywan commented Jun 12, 2019

bors try

bors bot added a commit that referenced this pull request Jun 12, 2019
bors bot added a commit to wasmerio/wasmer-go that referenced this pull request Jun 12, 2019
42: feat(instance,module) Improve error messages r=Hywan a=Hywan

Fix #41.

These patches improve error messages when instantiating a module with `Module.Instantiate` or with `NewInstance`.

The error message that is returned by `Module.Instantiate` isn't very helpful, but it's going to change with wasmerio/wasmer#493. Let's wait the next release of the runtime!

Co-authored-by: Ivan Enderlin <[email protected]>
@bors
Copy link
Contributor

bors bot commented Jun 12, 2019

@Hywan
Copy link
Contributor Author

Hywan commented Jun 14, 2019

bors r+

bors bot added a commit that referenced this pull request Jun 14, 2019
493: feat(runtime-c-api) Improve error message when instantiating a module r=Hywan a=Hywan

This patch improves the error message returned by `wasmer_module_instantiate`.

Co-authored-by: Ivan Enderlin <[email protected]>
@bors
Copy link
Contributor

bors bot commented Jun 14, 2019

@bors bors bot merged commit a6b5eee into wasmerio:master Jun 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🎉 enhancement New feature! 📦 lib-c-api About wasmer-c-api
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants