-
|
process-temp seems to be filled with duplicates each time brioche run is called. I have not found any option to reuse the previous process so cargo just compiles remaining files not the whole dependency tree each time? |
Beta Was this translation helpful? Give feedback.
Answered by
kylewlacy
Feb 3, 2026
Replies: 1 comment 4 replies
-
|
So, a few different things to unpack here!
|
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
So, for a
--reuse-tempfeature, just finding the previous failed build dir is pretty tricky! Each time we build a recipe, we create a new directory with a random name. And since multiple builds can run in parallel, there might not even be a single previous failed build dir. The recipe hash doesn't help us, since if any of the inputs to the recipe change at all-- say, updating the source code in the project, or basically any change you could try to make to fix a build-- then the recipe hash changes, and there's no concept to get what the "previous" recipe hash was. It's just impossible to do with the way recipes are structured today1.There are several other challenges (although not as big…