Panic when running cargo aoc
NilsIrl opened this issue · 6 comments
NilsIrl commented
When running cargo aoc
the following panic is hit:
cargo-aoc/cargo-aoc/src/project.rs
Line 46 in 7026a13
jskrzypek commented
Also hitting this
jskrzypek commented
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
jskrzypek commented
Bah, now it just prints AOC 2020
and doesn't seem to run my code :(
jskrzypek commented
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
jskrzypek commented
Oh, nvm. That was my fault, I had a segfault in an unsafe block.... wheee valgrind 🙄
NilsIrl commented
Ok, it works with the 0.3 branch. I'm not going to close this, because this is still a bug on master...