aboutsummaryrefslogtreecommitdiff
path: root/lib/std/debug.zig
diff options
context:
space:
mode:
authorBrandon Black <bblack@wikimedia.org>2024-04-06 10:27:59 -0500
committerAndrew Kelley <andrew@ziglang.org>2024-04-11 14:42:04 -0700
commit271d8964468529a1c67b3b1c6a4dd69693e98500 (patch)
tree401a41299c3b664675c15b6f566153f05d3cc64a /lib/std/debug.zig
parent786876c05efc55ecc9c9c05e89f754f813860436 (diff)
downloadzig-271d8964468529a1c67b3b1c6a4dd69693e98500.tar.gz
zig-271d8964468529a1c67b3b1c6a4dd69693e98500.zip
std.hash.crc: get rid of usingnamespace
This flips things around such that std/hash/crc.zig is generated by the catalog-based generation tool, and the real code that used to be in that file is moved out to std/hash/crc/impl.zig. The generated tests are moved to std/hash/crc/test.zig. By going this route, we eliminate the need for usingnamespace without changing anything for callers of these interfaces. The Crc32 tests are simply added to the fixed part of the generated output and compactified a bit. This was the second-to-last usage of usingnamespace left in std.
Diffstat (limited to 'lib/std/debug.zig')
0 files changed, 0 insertions, 0 deletions