Bump Zig again (#18948)

This commit is contained in:
Jarred Sumner
2025-04-11 19:13:20 -07:00
committed by GitHub
parent c684a0c8ce
commit 879fdd7ef6
36 changed files with 106 additions and 69 deletions

View File

@@ -1118,10 +1118,10 @@ pub const SliceWithUnderlyingString = struct {
utf8: ZigString.Slice = ZigString.Slice.empty,
underlying: String = String.dead,
did_report_extra_memory_debug: bun.DebugOnly(bool) = if (bun.Environment.allow_assert) false,
did_report_extra_memory_debug: bun.DebugOnly(bool) = if (bun.Environment.isDebug) false,
pub inline fn reportExtraMemory(this: *SliceWithUnderlyingString, vm: *JSC.VM) void {
if (comptime bun.Environment.allow_assert) {
if (comptime bun.Environment.isDebug) {
bun.assert(!this.did_report_extra_memory_debug);
this.did_report_extra_memory_debug = true;
}