aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <jarred@jarredsumner.com> 2022-03-09 04:00:36 -0800
committerGravatar Jarred Sumner <jarred@jarredsumner.com> 2022-03-09 04:00:36 -0800
commit4204baabe6d94a6e51b360e9c35fcda43fcbdc70 (patch)
tree47ae9ada45aad3b1a7c21e82945ff14468138f20
parent01b1fee2842b7be463f3861e177e2eba90eff308 (diff)
downloadbun-4204baabe6d94a6e51b360e9c35fcda43fcbdc70.tar.gz
bun-4204baabe6d94a6e51b360e9c35fcda43fcbdc70.tar.zst
bun-4204baabe6d94a6e51b360e9c35fcda43fcbdc70.zip
Update linker.zig
-rw-r--r--src/linker.zig24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/linker.zig b/src/linker.zig
index e4e00b875..3927425f4 100644
--- a/src/linker.zig
+++ b/src/linker.zig
@@ -1,14 +1,14 @@
-const _global = @import("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 FileDescriptorType = _global.FileDescriptorType;
-const C = _global.C;
+const bun = @import("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 FileDescriptorType = bun.FileDescriptorType;
+const C = bun.C;
const Ref = @import("./ast/base.zig").Ref;
const std = @import("std");
@@ -367,7 +367,7 @@ pub const Linker = struct {
else => {},
.react_refresh => {
linker.tagged_resolutions.react_refresh = _resolved_import;
- linker.tagged_resolutions.react_refresh.?.path_pair.primary = linker.tagged_resolutions.react_refresh.?.path().?.dupeAlloc(_global.default_allocator) catch unreachable;
+ linker.tagged_resolutions.react_refresh.?.path_pair.primary = linker.tagged_resolutions.react_refresh.?.path().?.dupeAlloc(bun.default_allocator) catch unreachable;
},
}