Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 595 Bytes

README.md

File metadata and controls

34 lines (22 loc) · 595 Bytes

Advent of Code 2021

Run

In order to have all thing working, put in files under ./src/testdata your input files.

zig run ./src/main.zig

If you want to check implementation with test

zig ./src/day01.zig

If you don't have a rust environment you can create as follow with different tools.

Devbox

https://github.com/jetify-com/devbox

curl -fsSL https://get.jetify.com/devbox | bash

cd <here>
devbox install
devbox shell
which zig # installed using devbox + nix

Activate those with direnv

eval "$(devbox generate direnv --print-envrc)"