Testing out nix flakes
in combination with rust
combiled to wasi
.
- Install nix
- Enable nix flakes
- Run
nix build
-> wasm file will be placed inresult-bin/bin
- Run
nix develop
-> addswasmtime
to environment - Run
wasmtime result-bin/bin/wasi-nix 1 2
-> Runs the wasm file