chore: upgrade zig to 0.12.0-dev.1828+225fe6ddb (#7671)

* chore: upgrade zig to 0.12.0-dev.1828+225fe6ddb

* open as iterable

* fix building identifier cache

* fix windows build

* fix linux build

* fix linux build
This commit is contained in:
dave caruso
2023-12-16 00:14:15 -08:00
committed by GitHub
parent 925a94ffe6
commit 369e3022e4
179 changed files with 3681 additions and 3688 deletions

View File

@@ -135,7 +135,7 @@ pub fn HashMap(comptime K: type, comptime V: type, comptime Context: type, compt
const overflow = capacity / 10 + (63 - @as(usize, self.shift) + 1) << 1;
const end = self.entries + @as(usize, @intCast(capacity + overflow));
var map = try Self.initCapacity(gpa, @as(usize, @intCast(capacity * 2)));
const map = try Self.initCapacity(gpa, @as(usize, @intCast(capacity * 2)));
var src = self.entries;
var dst = map.entries;
@@ -429,7 +429,7 @@ pub fn SortedHashMap(comptime V: type, comptime max_load_percentage: comptime_in
const overflow = capacity / 10 + (63 - @as(usize, self.shift) + 1) << 1;
const end = self.entries + @as(usize, @intCast(capacity + overflow));
var map = try Self.initCapacity(gpa, @as(usize, @intCast(capacity * 2)));
const map = try Self.initCapacity(gpa, @as(usize, @intCast(capacity * 2)));
var src = self.entries;
var dst = map.entries;