wasm3 / wasm3-rs

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

Use &’static str instead of c_char* #39

Closed luyikk closed 2 years ago

luyikk commented 2 years ago

This is safer and error impl send is easier to use.

Michael-F-Bryan commented 2 years ago

Thanks for making this PR @luyikk! Is there anything else you need to do before it can be merged?

I'd like to use this change because it makes Wasm3Error implement Send and Sync.