Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rust template instructions not working with 1.1.2692-dev #2260

Closed
villesundell opened this issue Aug 14, 2023 · 1 comment
Closed

Rust template instructions not working with 1.1.2692-dev #2260

villesundell opened this issue Aug 14, 2023 · 1 comment

Comments

@villesundell
Copy link
Contributor

Hello!
The instructions at https://github.com/nesbox/TIC-80/blob/main/templates/rust/README.md seem outdated. In addition to clear syntax issues ("card name is missing"), there seem to be no clear instructions on how to do continuous development (as I always get the default Hello World application despite my changes). I am running 1.1.2692-dev (02fd0eb).

@villesundell
Copy link
Contributor Author

Solved this by changing the command to: import binary target/wasm32-unknown-unknown/release/cart.wasm. This way, a new WASM cartridge will be created, and a WASM file can be imported so that it would be executed instead of the default Lua script. Will make a PR on this.

villesundell added a commit to villesundell/TIC-80 that referenced this issue Aug 14, 2023
It turned out, that a new WASM cartridge must be created prior to
saving a new one, in order to prevent the default Lua code running,
instead of the WASM code.
@nesbox nesbox closed this as completed in 22c8bb3 Aug 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant