wasm32-unknown-emscripten does not output wasm files
1226085293 opened this issue · 3 comments
1226085293 commented
Hi, I'm a web developer, I don't know rust language, I got only .rlib and .d files after executing cargo build --target wasm32-unknown-emscripten
command, no .wasm and .js files, please What should I do? ---- from translation software
sebcrozet commented
Hi! parry
itself doesn’t export any wasm functions. So you’d need to write an interface in Rust for the functions you want to use, and export them with wasm-bindgen.
1226085293 commented
Hi!
parry
itself doesn’t export any wasm functions. So you’d need to write an interface in Rust for the functions you want to use, and export them with wasm-bindgen.
Well, I gave up, it's not friendly to non-rust developers