aboutsummaryrefslogtreecommitdiff
path: root/lib/std/debug.zig
diff options
context:
space:
mode:
authorLemonBoy <thatlemon@gmail.com>2020-12-17 12:00:48 +0100
committerLemonBoy <thatlemon@gmail.com>2020-12-17 12:00:48 +0100
commit135f4791e5cbffc75f51d404ef1abb6aca5de0e3 (patch)
tree2a604d1357e66578b625ef3843256e78884c76d3 /lib/std/debug.zig
parent9e5869262a5f07300b7f4ff65dfe60810f22afee (diff)
downloadzig-135f4791e5cbffc75f51d404ef1abb6aca5de0e3.tar.gz
zig-135f4791e5cbffc75f51d404ef1abb6aca5de0e3.zip
std: Don't hash undefined bits
auto_hash must be extra careful when hashing integers whose bit size is not a multiple of 8 as, when reinterpreted with mem.asBytes, may contain undefined non-zero bits too.
Diffstat (limited to 'lib/std/debug.zig')
0 files changed, 0 insertions, 0 deletions