Stream: general

Topic: No Vec param allowed in wasm-bindgen


view this post on Zulip ender (Jan 14 2021 at 00:40):

I was able to accept that I would have to turn an array of numbers from Rust into a string in order to pass it from Rust to WebAssembly to JavaScript.

But you can't even have a Vec as a method parameter in wasm-bindgen? This is an intractable issue. Is there any workaround?

view this post on Zulip Léo Gaspard (Jan 14 2021 at 01:08):

(deleted, sorry, I failed at zuliping right)


Last updated: Nov 22 2024 at 17:03 UTC