mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 18:38:55 +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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user