mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
Zig 0.14: hash_map.verifyContext is gone, so don't verify
Zig removed this check as well: https://github.com/ziglang/zig/issues/19640
This commit is contained in:
@ -117,11 +117,6 @@ fn HashMapUnmanaged(
|
||||
return struct {
|
||||
const Self = @This();
|
||||
|
||||
comptime {
|
||||
std.hash_map.verifyContext(Context, K, K, u64, false);
|
||||
assert(@alignOf(Metadata) == 1);
|
||||
}
|
||||
|
||||
const header_align = @alignOf(Header);
|
||||
const key_align = if (@sizeOf(K) == 0) 1 else @alignOf(K);
|
||||
const val_align = if (@sizeOf(V) == 0) 1 else @alignOf(V);
|
||||
|
Reference in New Issue
Block a user