Open jish opened 1 month ago
It doesn't look like it is mentioned, but you do need to create a project using the cargo new
command.
e.g. cargo new --bin my-roguelike-learning
Honestly, I would start off going through section 2 until you have something you can display on screen, then following the "Building for the Web" section. If you are completely new to the rust language, I would recommend checking out The Rust Book before starting the roguelike tutorial, or at least having it open at the same time for reference.
I'm following along with the tutorial and I'm stuck on the first page "Building for the Web"
Here are the versions of the tools I have installed
Cargo:
Rustup:
I can get as far as the section "Step 1: Compile the program for WASM"
And I receive the following error:
Is there a step or a section I missed?