rapier depends on the instant crate which won't compile for WASM unless the appropriate feature flags are turned on. This can be done through using rapier's wasm-bindgen feature. I added a mention of this feature on the Getting started part of the user guide so people won't have to dig around for this information since the error messages from the browser (these happen at ES6 module linking) aren't very helpful.
Thank you for this PR! I am currently rewriting the docs completely (in the complete_docs branch). I will close this PR and add the suggested modification to my ongoing rewrite.
rapier
depends on theinstant
crate which won't compile for WASM unless the appropriate feature flags are turned on. This can be done through usingrapier
'swasm-bindgen
feature. I added a mention of this feature on the Getting started part of the user guide so people won't have to dig around for this information since the error messages from the browser (these happen at ES6 module linking) aren't very helpful.