I'm on an M2 Mac Pro and I am having a weird issue. When I add the Prisma crates as dependencies in my project every time I run cargo run it will recompile my entire project from scratch. I've noticed this only when cargo check is used before cargo run. I have it setup so my files get checked after I save them.
I have verified that it is only the Prisma dependencies, all other dependencies in my project are fine. My only guess is that something related to the Prisma crates causes a complete build cache invalidation whenever cargo check is run.
I'm on an M2 Mac Pro and I am having a weird issue. When I add the Prisma crates as dependencies in my project every time I run
cargo run
it will recompile my entire project from scratch. I've noticed this only whencargo check
is used beforecargo run
. I have it setup so my files get checked after I save them.I have verified that it is only the Prisma dependencies, all other dependencies in my project are fine. My only guess is that something related to the Prisma crates causes a complete build cache invalidation whenever
cargo check
is run.