diff options
| author | Frank Denis <github@pureftpd.org> | 2020-08-19 16:21:05 +0200 |
|---|---|---|
| committer | Frank Denis <github@pureftpd.org> | 2020-08-20 23:02:05 +0200 |
| commit | 6f9ea9eaef79863ebdc9bf44b2af67ec4caad031 (patch) | |
| tree | 4a34acd626affbf4e98484a357e6464c92952b2a /lib/std/zig.zig | |
| parent | 1a4059ed88740c0289b7fea5735115fa9481a8e5 (diff) | |
| download | zig-6f9ea9eaef79863ebdc9bf44b2af67ec4caad031.tar.gz zig-6f9ea9eaef79863ebdc9bf44b2af67ec4caad031.zip | |
Breaking: sort std/crypto functions into categories
Instead of having all primitives and constructions share the same namespace,
they are now organized by category and function family.
Types within the same category are expected to share the exact same API.
Diffstat (limited to 'lib/std/zig.zig')
| -rw-r--r-- | lib/std/zig.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/zig.zig b/lib/std/zig.zig index 34e03eb164..c93c22f257 100644 --- a/lib/std/zig.zig +++ b/lib/std/zig.zig @@ -26,7 +26,7 @@ pub fn hashSrc(src: []const u8) SrcHash { std.mem.copy(u8, &out, src); std.mem.set(u8, out[src.len..], 0); } else { - std.crypto.Blake3.hash(src, &out); + std.crypto.hash.Blake3.hash(src, &out); } return out; } |
