Samsung / walrus

WebAssembly Lightweight RUntime
Apache License 2.0
35 stars 10 forks source link

Implement WASI error-handling #152

Closed kulcsaradam closed 10 months ago

kulcsaradam commented 10 months ago

https://github.com/WebAssembly/WASI/blob/main/legacy/preview1/docs.md#-errno-variant

Implement simple error-handling according to WASI documentation where functions return an error code as their first result and after that their usual results.