prisma-client-rust
prisma-client-rust copied to clipboard
Cargo check causes entire project to rebuild when run but only when Prisma crates are dependencies
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.