Passing string in WASM is not fun. So much boilerplate in both JS and Rust code just to make it happen 
-
-
Replying to @pveyes
Have you tried wasm-pack and/or wasm-bindgen? It should make this easy!
1 reply 0 retweets 7 likes -
Replying to @rustlang
Wow, didn't know this, my bad. I used wasm-gc and cargo build with target flag
wasm-pack & wasm-bindgen look exactly what I needed. OMG this is awesome! Thank you 
1 reply 0 retweets 2 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.