aboutsummaryrefslogtreecommitdiff
path: root/lib/std/priority_queue.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2025-02-23 19:20:38 -0800
committerAndrew Kelley <andrew@ziglang.org>2025-02-26 11:42:03 -0800
commita57b0a0f2fe5a3a0af740495c60d4f3d0b6abfec (patch)
tree55f195dc055261860fd43c27f6c38d966d8e75b6 /lib/std/priority_queue.zig
parente03bc7ac78820b7763d6ecd21cfa19653535f8d0 (diff)
downloadzig-a57b0a0f2fe5a3a0af740495c60d4f3d0b6abfec.tar.gz
zig-a57b0a0f2fe5a3a0af740495c60d4f3d0b6abfec.zip
fix generated hash of by-path dependencies
This branch regressed from master by switching to binary rather than hex digest, allowing null bytes to end up in identifiers in the zig file. This commit fixes it by changing the "hash" to be literally equal to the sub_path (with a prefix '/' to indicate "global") if it can fit. If it is too long then it is actually hashed, and that value used instead.
Diffstat (limited to 'lib/std/priority_queue.zig')
0 files changed, 0 insertions, 0 deletions