Open NilsIrl opened 3 years ago
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 :roll_eyes:
Ok, it works with the 0.3 branch. I'm not going to close this, because this is still a bug on master...
When running
cargo aoc
the following panic is hit:https://github.com/gobanos/cargo-aoc/blob/7026a13b357800aabe9f6c594c1ee86a15c57340/cargo-aoc/src/project.rs#L46