wabt-rs icon indicating copy to clipboard operation
wabt-rs copied to clipboard

Compiling to WebAssembly

Open skyne98 opened this issue 5 years ago • 1 comments

Hey there! Is there an option to allow using this crate in a project aimed at the "wasm32-wasi" target?

As far as I can see, allowing this might require some tricks, but it seems like Wasmer guys already did it for their Wapm project, making a fork of wabt that supports WebAssembly compilation.

What do you think about this?

skyne98 avatar Oct 31 '19 12:10 skyne98

Hey @skyne98 ! It might be very well possible. In fact at some point wabt-rs supported compilation into wasm32 but due to lack of demand for this feature I scrubbed it.

I am not sure what it would take to re-enable the compilation again though. If you are up to try I'd be glad to land this feature.

pepyakin avatar Oct 31 '19 14:10 pepyakin