mirror of
https://github.com/oven-sh/bun
synced 2026-02-11 03:18:53 +00:00
CI: Remove unused top-level decls in formatter in zig (#19879)
Co-authored-by: Jarred-Sumner <709451+Jarred-Sumner@users.noreply.github.com> Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
This commit is contained in:
@@ -2,13 +2,11 @@ const std = @import("std");
|
||||
const expect = std.testing.expect;
|
||||
const Environment = @import("./env.zig");
|
||||
const string = bun.string;
|
||||
const stringZ = bun.stringZ;
|
||||
const CodePoint = bun.CodePoint;
|
||||
const bun = @import("bun");
|
||||
const log = bun.Output.scoped(.STR, true);
|
||||
const js_lexer = @import("./js_lexer.zig");
|
||||
const grapheme = @import("./grapheme.zig");
|
||||
const JSC = bun.JSC;
|
||||
const OOM = bun.OOM;
|
||||
|
||||
/// memmem is provided by libc on posix, but implemented in zig for windows.
|
||||
@@ -4689,9 +4687,6 @@ pub fn cmpStringsDesc(_: void, a: string, b: string) bool {
|
||||
return order(a, b) == .gt;
|
||||
}
|
||||
|
||||
const sort_asc = std.sort.asc(u8);
|
||||
const sort_desc = std.sort.desc(u8);
|
||||
|
||||
/// Every time you read a non^2 sized integer, Zig masks off the extra bits.
|
||||
/// This is a meaningful performance difference, including in release builds.
|
||||
const u3_fast = u8;
|
||||
|
||||
Reference in New Issue
Block a user