Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cargo check causes entire project to rebuild when run but only when Prisma crates are dependencies #442

Open
semirix opened this issue Feb 28, 2024 · 1 comment

Comments

@semirix
Copy link

semirix commented Feb 28, 2024

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.

@Brendonovich
Copy link
Owner

Not sure about this, prisma crates cache on our machines just fine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants