mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 18:38:55 +00:00
refactor: ban std.debug.assert (#10168)
* Ban `std.debug.assert` * Create .clangd * Update lint.yml * Update linter.ts * update * lint * Update linter.ts * Update linter.ts * update * Update linter.ts * update * Update linter.ts * more * Update install.zig * words * Remove UB
This commit is contained in:
@@ -4,7 +4,7 @@ const bun = @import("root").bun;
|
||||
const Environment = bun.Environment;
|
||||
const string = @import("string_types.zig").string;
|
||||
const StringBuilder = @This();
|
||||
const assert = std.debug.assert;
|
||||
const assert = bun.assert;
|
||||
|
||||
const DebugHashTable = if (Environment.allow_assert) std.AutoHashMapUnmanaged(u64, void) else void;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user