diff --git a/cli/lib/new.js b/cli/lib/new.js index 7d7ce6ad..4887684a 100644 --- a/cli/lib/new.js +++ b/cli/lib/new.js @@ -78,7 +78,7 @@ const HELP = { zig: { name: 'Zig', build: 'zig build -Doptimize=ReleaseSmall', - cart: 'zig-out/lib/cart.wasm', + cart: 'zig-out/bin/cart.wasm', } }; diff --git a/cli/lib/watch.js b/cli/lib/watch.js index 6d0da342..07dfef6c 100644 --- a/cli/lib/watch.js +++ b/cli/lib/watch.js @@ -21,7 +21,7 @@ function start (opts) { } else if (fs.existsSync("build.zig")) { buildCommand = "zig"; buildParams = ["build"]; - buildOutput = "zig-out/lib/cart.wasm"; + buildOutput = "zig-out/bin/cart.wasm"; } else if (fs.existsSync("cart.nimble")) { buildCommand = "nimble"; diff --git a/site/docs/getting-started/setup.md b/site/docs/getting-started/setup.md index 5614c44d..73a247cf 100644 --- a/site/docs/getting-started/setup.md +++ b/site/docs/getting-started/setup.md @@ -368,7 +368,7 @@ zig build -Doptimize=ReleaseSmall Run it in WASM-4 with: ```shell -w4 run zig-out/lib/cart.wasm +w4 run zig-out/bin/cart.wasm ``` diff --git a/site/docs/tutorials/snake/publish-your-game.md b/site/docs/tutorials/snake/publish-your-game.md index 595ce75d..5b45143e 100644 --- a/site/docs/tutorials/snake/publish-your-game.md +++ b/site/docs/tutorials/snake/publish-your-game.md @@ -111,7 +111,7 @@ This is a rather heavy, blunt hammer for functions that kind of look like nails zig build -Doptimize=ReleaseSmall ``` -Your game will be here: `zig-out/lib/cart.wasm` +Your game will be here: `zig-out/bin/cart.wasm`