diff options
Diffstat (limited to 'misctools/readlink-realpath.zig')
-rw-r--r-- | misctools/readlink-realpath.zig | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/misctools/readlink-realpath.zig b/misctools/readlink-realpath.zig index bc8b604de..f683f986c 100644 --- a/misctools/readlink-realpath.zig +++ b/misctools/readlink-realpath.zig @@ -1,16 +1,16 @@ const std = @import("std"); const path_handler = @import("../src/resolver/resolve_path.zig"); -const _global = @import("../src/global.zig"); -const string = _global.string; -const Output = _global.Output; -const Global = _global.Global; -const Environment = _global.Environment; -const strings = _global.strings; -const MutableString = _global.MutableString; -const stringZ = _global.stringZ; -const default_allocator = _global.default_allocator; -const C = _global.C; +const bun = @import("../src/global.zig"); +const string = bun.string; +const Output = bun.Output; +const Global = bun.Global; +const Environment = bun.Environment; +const strings = bun.strings; +const MutableString = bun.MutableString; +const stringZ = bun.stringZ; +const default_allocator = bun.default_allocator; +const C = bun.C; // zig build-exe -Drelease-fast --main-pkg-path ../ ./readlink-getfd.zig pub fn main() anyerror!void { @@ -27,7 +27,7 @@ pub fn main() anyerror!void { var args = std.mem.span(try std.process.argsAlloc(allocator)); const to_resolve = args[args.len - 1]; - var out_buffer: [_global.MAX_PATH_BYTES]u8 = undefined; + var out_buffer: [bun.MAX_PATH_BYTES]u8 = undefined; var path: []u8 = undefined; var j: usize = 0; |