From e69c3fa6889357195e541fb632049358e25847e0 Mon Sep 17 00:00:00 2001 From: Cesar Mello <cmello@gmail.com> Date: Thu, 4 Feb 2021 21:29:51 -0800 Subject: [PATCH] use cargo to install wasm-pack 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. --- src/game-of-life/setup.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/game-of-life/setup.md b/src/game-of-life/setup.md index 0ba94f7b..b688cbc7 100644 --- a/src/game-of-life/setup.md +++ b/src/game-of-life/setup.md @@ -19,7 +19,9 @@ require Rust 1.30 or newer. `wasm-pack` is your one-stop shop for building, testing, and publishing Rust-generated WebAssembly. -[Get `wasm-pack` here!][wasm-pack-install] +``` +cargo install wasm-pack +``` ## `cargo-generate`