Support cargo workspaces
mjpieters opened this issue · 1 comments
Without multi-year support I was hoping to at least use cargo workspaces to reuse the build cache between years.
Unfortunately, that causes issues for the runner:
- You can't run
cargo aoc
from the workspaces root. Fair enough, it doesn't know about-p <workspace>
. - You can't run
cargo aoc
in a workspace either, it bails out witherror occurs : entity not found
.
Could the second error be fixed at all?
eck, this issue has been open for an age. I have only just started rust, and am using aoc as a learning platform.
now I've come to restructure my project for multiple years, I've separated it into workspaces and came across this issue.
will it ever get fixed? I can at least create each year's binaries and run them with (e.g.) cargo run --bin aoc2021
but it would be nice to be able to use cargo aoc <workspace>
to pull out the appropriate aoc year.
or to fix the 2nd error mentioned by the OP so it doesn't error with entity not found