diff options
author | 2023-01-26 04:45:24 -0800 | |
---|---|---|
committer | 2023-01-26 04:45:24 -0800 | |
commit | 2c23d8736f463ee097b03212559ee2c25c6e5ee6 (patch) | |
tree | 9e1ce98203ac9e4c86c4147f8741879d146a4679 /src/install/semver.zig | |
parent | f14032e4b41a53c13263c8e3caa9c058955baae7 (diff) | |
download | bun-2c23d8736f463ee097b03212559ee2c25c6e5ee6.tar.gz bun-2c23d8736f463ee097b03212559ee2c25c6e5ee6.tar.zst bun-2c23d8736f463ee097b03212559ee2c25c6e5ee6.zip |
valgrind
Diffstat (limited to 'src/install/semver.zig')
-rw-r--r-- | src/install/semver.zig | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/install/semver.zig b/src/install/semver.zig index 656027227..c4d9b5b5f 100644 --- a/src/install/semver.zig +++ b/src/install/semver.zig @@ -44,14 +44,14 @@ pub const String = extern struct { }; } - pub inline fn assertDefined(this: *const String) void { - if (comptime !Environment.allow_assert) - return; - - if (this.isUndefined()) { - @breakpoint(); - @panic("String is undefined"); - } + pub inline fn assertDefined(_: *const String) void { + // if (comptime !Environment.allow_assert) + // return; + + // if (this.isUndefined()) { + // @breakpoint(); + // @panic("String is undefined"); + // } } pub inline fn init( |