mirror of
https://github.com/oven-sh/bun
synced 2026-02-12 11:59:00 +00:00
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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user