-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed as not planned
Labels
bugObserved behavior contradicts documented or intended behaviorObserved behavior contradicts documented or intended behaviorzig build systemstd.Build, the build runner, `zig build` subcommand, package managementstd.Build, the build runner, `zig build` subcommand, package management
Milestone
Description
Zig Version
0.14.0-dev.3451+d8d2aa9af
Steps to Reproduce and Observed Behavior
- delete global zig cache
zig build
in a project that uses legacy hash format (e.g.1220e97357cc39f4f9f053c763f3ec1623e0c7f3999f185746f2bd9bf9b5c5551392
)- observe that global zig cache now has something like
N-V-__8AAJCtGQSh2-Qbxpqs91AmpxWIEhmOomX7nKxk3Lkc
instead (new hash format) zig build --system ~/.cache/zig/p
- observe that it fails with "package not found" errors for all legacy hash formats used
Expected Behavior
Expected cache hit, no network usage.
Suggested workaround: upgrade to new hash format
Alternate workaround: use zig-0.13.0 to zig fetch
legacy packages
I have no plans to solve this bug. Problem will solve itself as projects upgrade to new hash format.
charlesrocket
Metadata
Metadata
Assignees
Labels
bugObserved behavior contradicts documented or intended behaviorObserved behavior contradicts documented or intended behaviorzig build systemstd.Build, the build runner, `zig build` subcommand, package managementstd.Build, the build runner, `zig build` subcommand, package management