-
Notifications
You must be signed in to change notification settings - Fork 645
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
fix: Upgrade Wasmer #2332
fix: Upgrade Wasmer #2332
Conversation
5b871c0
to
ef572fa
Compare
af4e658
to
07f65c3
Compare
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.
near-vm-runner
tests don't pass, looks like CI is broken right now
Summary: this PR just updates Wasmer for now (let's wait for updates from Wasmer). Wasmer doesn't return ExceptionCode's, so this PR is not fixing #2055 . please review @evgenykuzyakov @mikhailOK @nearmax |
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.
Thank you for looking into it! It is good enough for now as explained here: #2316 (comment)
Correct. Until wasmerio/wasmer#1338 is fixed we should categorize all string-like errors as |
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.
See the comment
…ore into fckt/wasmer-16-update
blocked by @evgenykuzyakov @mikhailOK |
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 would still suggest to try to cast to ExceptionCode
and return unknown
only when it is not possible to do so, e.g. in case of the string error, as mentioned in my previous comment. wasmerio/wasmer#1338
Also, you need only one approval either from me or from @evgenykuzyakov .
@nearmax only if there are no change requests |
@fckt Did you have a chance to address my comment? |
I'd prefer to not use not working feature (as discussed) |
I don't remember agreeing on that. We are using not working feature anyway, where feature is the error handling in Wasmer. We need to use what we can process correctly ( |
#2505 supersedes this PR, so closing |
Actually don't fixes traps. Wasmer still returns "unknown" errors on traps.
ref #2055
fixes #2316