Home

Awesome

Gamercade Rust Template

A way to get up and running with Gamercade quick and easy. Comes bundled with the gamercade_rs crate.

This project is already configured to output the .wasm binaries via the .cargo/config file.

Learn more about Gamercade, or head over to the main project repository: gamercade_console

How to build a .wasm File:

  1. If you don't already have it, install the wasm target by running rustup target add wasm32-unknown-unknown.
  2. Invoke cargo build or cargo build --release as you would normally. This project will default to building for target wasm32-unknown-unknown
  3. If successful, the output will be in ./target/wasm32-unknown-unknown/, inside of debug or release respectively.
  4. The file name will be from Cargo.toml. Which in this case, is rust_template.wasm
  5. You can then bundle this .wasm with the editor to generate playable .gcrom files. Learn more here