-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
legacy packages are unnecessarily fetched #23051
Copy link
Copy link
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
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
Type
Fields
Give feedbackNo fields configured for issues without a type.
Zig Version
0.14.0-dev.3451+d8d2aa9af
Steps to Reproduce and Observed Behavior
zig buildin a project that uses legacy hash format (e.g.1220e97357cc39f4f9f053c763f3ec1623e0c7f3999f185746f2bd9bf9b5c5551392)N-V-__8AAJCtGQSh2-Qbxpqs91AmpxWIEhmOomX7nKxk3Lkcinstead (new hash format)zig build --system ~/.cache/zig/pExpected Behavior
Expected cache hit, no network usage.
Suggested workaround: upgrade to new hash format
Alternate workaround: use zig-0.13.0 to
zig fetchlegacy packagesI have no plans to solve this bug. Problem will solve itself as projects upgrade to new hash format.