amethyst / amethyst/rustrogueliketutorial

Building for the Web

Ouverte
#218 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Rust
Étoiles
970
Forks
166
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

I'm following along with the tutorial and I'm stuck on the first page "[Building for the Web](https://bfnightly.bracketproductions.com/rustbook/webbuild.html)"

Here are the versions of the tools I have installed

Cargo:

$ cargo --version
cargo 1.81.0 (2dbb1af80 2024-08-20)

Rustup:

$ rustup --version
rustup 1.27.1 (2024-04-24)
info: This is the version for the rustup toolchain manager, not the rustc compiler.
info: The currently active `rustc` version is `rustc 1.81.0 (eeb90cda1 2024-09-04)`

I can get as far as the section "[Step 1: Compile the program for WASM](https://bfnightly.bracketproductions.com/rustbook/webbuild.html#step-1-compile-the-program-for-wasm)"

And I receive the following error:

$ cargo build --release --target wasm32-unknown-unknown

error: could not find `Cargo.toml` in `/Users/josh/code/rust/roguelike` or any parent directory

Is there a step or a section I missed?

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.