gobanos/cargo-aoc

Panic when running cargo aoc

NilsIrl opened this issue · 6 comments

When running cargo aoc the following panic is hit:

unimplemented!()

Also hitting this

Hmm looks like the v0.3 branch might be the working one? https://github.com/gobanos/cargo-aoc/blob/v0.3/cargo-aoc/src/project.rs#L45

Bah, now it just prints AOC 2020 and doesn't seem to run my code :(

    Checking advent-of-code-2020 v0.2.0 (/home/jskrzypek/dev/jskrzypek/advent-of-code-2020/rust)
    Finished dev [unoptimized + debuginfo] target(s) in 0.44s
   Compiling advent-of-code-2020 v0.2.0 (/home/jskrzypek/dev/jskrzypek/advent-of-code-2020/rust)
   Compiling aoc-autobuild v0.3.0 (/home/jskrzypek/dev/jskrzypek/advent-of-code-2020/rust/target/aoc/aoc-autobuild)
    Finished release [optimized + debuginfo] target(s) in 2.11s
     Running `target/release/aoc-autobuild`
AOC 2020

Oh, nvm. That was my fault, I had a segfault in an unsafe block.... wheee valgrind 🙄

Ok, it works with the 0.3 branch. I'm not going to close this, because this is still a bug on master...