no usingnamespace, organize jsc namespace, enable -fincremental (#19122)

Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com>
This commit is contained in:
chloe caruso
2025-04-22 16:34:15 -07:00
committed by GitHub
parent 842fe8664e
commit 3349c995b5
271 changed files with 30131 additions and 30868 deletions

View File

@@ -1,7 +1,7 @@
const std = @import("std");
const bun = @import("bun");
const JSC = bun.JSC;
const Encoder = JSC.WebCore.Encoder;
const Encoder = JSC.WebCore.encoding;
const Environment = bun.Environment;
pub const BufferVectorized = struct {
@@ -61,7 +61,7 @@ pub const BufferVectorized = struct {
inline 4, 8, 16 => |n| if (comptime Environment.isMac) {
const pattern = buf[0..n];
buf = buf[pattern.len..];
@field(bun.C, std.fmt.comptimePrint("memset_pattern{d}", .{n}))(buf.ptr, pattern.ptr, buf.len);
@field(bun.c, std.fmt.comptimePrint("memset_pattern{d}", .{n}))(buf.ptr, pattern.ptr, buf.len);
return true;
},
else => {},