code-disaster / sokol-rs

Rust bindings to sokol (https://github.com/floooh/sokol).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WebAssembly?

Jipok opened this issue · comments

commented

Sokol supports wasm. Is it possible to get an example of how to compile in wasm on a rust?

Last time I tried (very briefly), the Rust WASM target wasn't exactly easy to setup. I didn't get very far.

Also, sokol-rs depends on cc-rs for compiling native libraries, which doesn't target WebAssembly either.