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

Zig should be more tolerant against invalid cache dir #1901

Open
plajjan opened this issue Sep 3, 2024 · 0 comments
Open

Zig should be more tolerant against invalid cache dir #1901

plajjan opened this issue Sep 3, 2024 · 0 comments

Comments

@plajjan
Copy link
Contributor

plajjan commented Sep 3, 2024

I've stumbled upon this numerous times. I usually just clear the cache and start over to fix it, but I think there's a zig bug here somehow. It's probably in conjunction with something else not working properly but nonetheless, the end result is failure, which is bad.

I suppose Zig has some cache manifest that says "this file should be in the cache" but for some reason it turns out to not be in the cache and then things just fail. I think that Zig could be more tolerant - simply check if the file actually exists on disk and not just in the manifest?

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

1 participant