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-c-api: error visibility changes #590

Merged
merged 6 commits into from
Aug 1, 2019

Conversation

YaronWittenstein
Copy link
Contributor

@YaronWittenstein YaronWittenstein commented Jul 29, 2019

* error.rs - changing `update_last_error` visibility to `pub`.
* error.rs - changing `CApiError` `msg` field visibility to `pub`.
@YaronWittenstein YaronWittenstein changed the title wasmer-c-api: error-visibility changes wasmer-c-api: visibility changes (error + Export) Jul 29, 2019
@YaronWittenstein YaronWittenstein changed the title wasmer-c-api: visibility changes (error + Export) wasmer-c-api: error visibility changes Jul 29, 2019
@bjfish
Copy link
Contributor

bjfish commented Aug 1, 2019

LGTM, thanks!
bors r+

bors bot added a commit that referenced this pull request Aug 1, 2019
590: wasmer-c-api: error visibility changes  r=bjfish a=YaronWittenstein

I've changed the visibility to `public` in order to support code like here:
https://github.com/spacemeshos/svm/blob/52f04b52cc/crates/svm-wasmer-c-api/src/macros.rs#L150

@syrusakbary @bjfish @Hywan 

Co-authored-by: Yaron Wittenstein <[email protected]>
Co-authored-by: Brandon Fish <[email protected]>
@bors bors bot merged commit a832a4c into wasmerio:master Aug 1, 2019
@YaronWittenstein YaronWittenstein deleted the wasmer-c-api-error-visibility branch August 1, 2019 12:37
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