Skip to content

Commit 22c8bb3

Browse files
authored
Merge pull request #2261 from villesundell/rust-template-readme-fix
#2260: Updated Rust template build instructions
2 parents 0254325 + 59c4c03 commit 22c8bb3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

templates/rust/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,18 @@ Then, to build a cart.wasm file, run:
1414
cargo build --release
1515
```
1616

17-
To import the resulting WASM to a cartridge:
17+
To import the resulting WASM to a cartridge named `game.tic`:
1818

1919
```
20-
tic80 --fs . --cmd 'load game.tic & import binary target/wasm32-unknown-unknown/release/cart.wasm & save'
20+
tic80 --fs . --cmd 'new wasm & import binary target/wasm32-unknown-unknown/release/cart.wasm & save game'
2121
```
2222

2323
Or from the TIC-80 console:
2424

2525
```
26-
load game.tic
26+
new wasm
2727
import binary target/wasm32-unknown-unknown/release/cart.wasm
28-
save
28+
save game
2929
```
3030

3131
This is assuming you've run TIC-80 with `--fs .` inside your project directory.

0 commit comments

Comments
 (0)