Trying to run cargo check --all-targets on a project split into a lib and a bunch of binaries yields errors like failed to open rmeta metadata: '/home/.../projects/.../target/debug/deps/libtoml_edit-966d927d27fec036.rmeta'. This looks like the same issue as this crane FAQ entry, although I'm installing all the things together, so I'm confused as to why it happens.
I have the following flake
Trying to run
cargo check --all-targets
on a project split into a lib and a bunch of binaries yields errors likefailed to open rmeta metadata: '/home/.../projects/.../target/debug/deps/libtoml_edit-966d927d27fec036.rmeta'
. This looks like the same issue as thiscrane
FAQ entry, although I'm installing all the things together, so I'm confused as to why it happens.