-
-
Save haze/02974e52ea312d6e9c33efa1251510c4 to your computer and use it in GitHub Desktop.
(no description)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const std = @import("std"); | |
pub fn main() !void { | |
comptime var buf: [2 << 8]u8 = undefined; | |
std.mem.secureZero(u8, &buf); | |
comptime var allocator = std.heap.FixedBufferAllocator.init(&buf).allocator; | |
comptime var hm = std.StringHashMap(i32).init(&allocator); | |
_ = try hm.putNoClobber("bruh", 1); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment