Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wasm32-unknown-emscripten does not output wasm files #91

Closed
1226085293 opened this issue Sep 9, 2022 · 3 comments
Closed

wasm32-unknown-emscripten does not output wasm files #91

1226085293 opened this issue Sep 9, 2022 · 3 comments

Comments

@1226085293
Copy link

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
Copy link
Member

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
Copy link
Author

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

@sebcrozet
Copy link
Member

Yeah, unlike rapier there hasn’t been any work towards making parry easily usable from JS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants