DEV Community

loading...

Discussion on: WASM in Rust without NodeJS

Collapse
dandyvica profile image
Alain Viguier Author

Hi,

Difficult to spot but did you follow the article step by step ?

Collapse
davidhur profile image
DavidHur • Edited

I solved it!
Many thanks!

Thread Thread
vthg2themax profile image
Vince Pike • Edited

I had the same problem with no created .wasm file, but it was because I missed the step of adding

[lib]
crate-type =["cdylib"]

to the Cargo.toml file. Much appreciated writer! I don't know NodeJS, so when they throw that in, it makes things difficult to understand for a beginner of WebAssembly as it is. :-)