Skip to content

harryprayiv/run-cycle

 
 

Repository files navigation

webassembly-rust-snake

Develop

Prerequisites

Install Rust

Install wasm-pack, devserver and cargo-watch

cargo install wasm-pack devserver cargo-watch

If installing the devserver fails because of missing ssl library dependencies, you need to first install libssl-dev libraries to your system. On Ubuntu, the command would be

 sudo apt-get install libssl-dev

Build interactively

Build interactively on each change

cargo watch -- wasm-pack build --target web

Serve

devserver

Open http://localhost:8080/ in your browser

Build

Build with

wasm-pack build --target web

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Nix 83.7%
  • Rust 14.4%
  • Other 1.9%