wasm3 / wasm3-rs

Rust wrapper for Wasm3, the fastest WebAssembly interpreter
MIT License
155 stars 43 forks source link

Upgrade to v0.5.0 wasm3 API #34

Closed jimpo closed 2 years ago

jimpo commented 2 years ago

Addresses #24

This is a big change to support the v0.5.0 wasm3 release. I take the approach of only using the public API in wasm3.h and m3_api_wasi.h (if the wasi feature is enabled). This means I drop the following functions:

Aside from this I try to keep full compatibility with the current API.

Veykril commented 2 years ago

Will take a look later this week(maybe tomorrow) but in general the crate was using a lot of internal things because wasm3 itself didn't really expose a nice api at the time. So getting rid of the internal dependence is definitely a plus point assuming most of the things can now be accessed via the public api.

vshymanskyy commented 2 years ago

@jimpo thanks for a valuable contribution!