rustwasm / book

The Rust and WebAssembly Book
https://rustwasm.github.io/docs/book/
MIT License
1.75k stars 211 forks source link

use cargo to install wasm-pack #248

Open cmello opened 3 years ago

cmello commented 3 years ago

wasm-pack can be installed through cargo. That works out of the box on my Mac M1, as opposed to the previous instruction to download the binary.

✋ A similar PR may already be submitted! Please search 🔎 among the open pull requests before creating one.

Updating the Game of Life tutorial's code? Also send a PR to rustwasm/wasm_game_of_life!

Now that you've checked, it's time to create your PR. 📝 Thanks for submitting! 🙏

For more information, see the contributing guide. 👫

Summary

Explain the motivation for making this change. What existing problem does the pull request solve? 🤔

Fixes #___

ftiburi commented 6 months ago

thk