Skip to content

Instantly share code, notes, and snippets.

@sombraguerrero
Created February 10, 2021 00:37
Show Gist options
  • Save sombraguerrero/f3147cb3357459008eac2ca4aa1a682e to your computer and use it in GitHub Desktop.
Save sombraguerrero/f3147cb3357459008eac2ca4aa1a682e to your computer and use it in GitHub Desktop.
Notes about building Ruffle
A note on receivng build errors related to WASM
I resolved this by cleaning up the environment with various permutations of the following:
cargo uninstall wasm-bindgen-cli (the primarily offending crate)
cargo clean (to delete the target folder entirely
npm clean-install (from the web directory of the master source code)
The main thing post-cleanup is to make sure that whatever version of wasm-bindgen-cli was used in the master branch's binding is the one that gets reinstalled before running npm run bootstrap and npm run build again. As of this writing, the last version used was 0.2.69. (cargo install wasm-bindgen-cli --version 0.x.x)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment