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

@@ -317,7 +317,7 @@ pub const MutableString = struct {
}
pub fn writeAll(this: *BufferedWriter, bytes: []const u8) anyerror!usize {
var pending = bytes;
const pending = bytes;
if (pending.len >= max) {
try this.flush();
@@ -353,7 +353,7 @@ pub const MutableString = struct {
/// This automatically encodes UTF-16 into UTF-8 using
/// the same code path as TextEncoder
pub fn writeAll16(this: *BufferedWriter, bytes: []const u16) anyerror!usize {
var pending = bytes;
const pending = bytes;
if (pending.len >= max) {
try this.flush();