- Install Rust
- Go to the puzzle directory
- Run:
cargo run
- Launch tests:
cargo test
- See how fast the program runs:
cargo build --release time ./target/release/adventofcode
- Install Zig
- Go to the puzzle directory
- Run:
zig run main.zig
- Launch tests:
zig test main.zig
- See how fast the program runs:
zig build-exe main.zig -Doptimize=ReleaseSafe time ./main