Did you came up with a way to add some rust dependencies to WASM project? I've tried to add fake to produce some fake data for testing but I was flooded with linker error to C functions.
Seems obvious that I can't mix native binaries with WASM but is there a way to compile the dependencies with cargo-web too? Or maybe some alternative registry with packages made for WASM, like stdweb?
The link issue I think you're referring to is when you try to recompile whilest the code is running. Are you by any chance running a different tab in say Clion or something?
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Did you came up with a way to add some rust dependencies to WASM project? I've tried to add
fake
to produce some fake data for testing but I was flooded with linker error to C functions.Seems obvious that I can't mix native binaries with WASM but is there a way to compile the dependencies with cargo-web too? Or maybe some alternative registry with packages made for WASM, like
stdweb
?The link issue I think you're referring to is when you try to recompile whilest the code is running. Are you by any chance running a different tab in say Clion or something?