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

Lazy dependencies don't appear to get cached anymore #23159

Closed
IntegratedQuantum opened this issue Mar 9, 2025 · 2 comments
Closed

Lazy dependencies don't appear to get cached anymore #23159

IntegratedQuantum opened this issue Mar 9, 2025 · 2 comments

Comments

@IntegratedQuantum
Copy link
Contributor

Zig Version

0.14.0

Steps to Reproduce and Observed Behavior

Clone a project that uses lazy dependencies, e.g. https://github.com/PixelGuys/Cubyz

Run zig build run multiple times and observe that each time it refetches the lazy dependencies:

$ zig build run
info: Downloading cubyz_deps libraries cubyz_deps_x86_64_linux.
[1] Compile Build Script
└─ [8/8] Fetch Packages
   └─ cubyz_deps_x86_64_linux

I never observed this before.

Expected Behavior

Lazy dependencies should only be downloaded once.

@linusg
Copy link
Collaborator

linusg commented Mar 9, 2025

You need to update to the new hash format, see #23051 and #23130.

@linusg linusg closed this as completed Mar 9, 2025
@linusg linusg removed the bug Observed behavior contradicts documented or intended behavior label Mar 9, 2025
@IntegratedQuantum
Copy link
Contributor Author

Thank you! That works.

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