aboutsummaryrefslogtreecommitdiff
path: root/src/allocators.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/allocators.zig')
-rw-r--r--src/allocators.zig6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/allocators.zig b/src/allocators.zig
index e5f990fef..4d300c0eb 100644
--- a/src/allocators.zig
+++ b/src/allocators.zig
@@ -4,8 +4,8 @@ const FeatureFlags = @import("./feature_flags.zig");
const Environment = @import("./env.zig");
const Wyhash = std.hash.Wyhash;
const FixedBufferAllocator = std.heap.FixedBufferAllocator;
-const constStrToU8 = @import("./global.zig").constStrToU8;
-const bun = @import("./global.zig");
+const constStrToU8 = @import("bun").constStrToU8;
+const bun = @import("bun");
pub fn isSliceInBuffer(slice: anytype, buffer: anytype) bool {
return (@ptrToInt(&buffer) <= @ptrToInt(slice.ptr) and (@ptrToInt(slice.ptr) + slice.len) <= (@ptrToInt(buffer) + buffer.len));
}
@@ -75,7 +75,7 @@ fn OverflowGroup(comptime Block: type) type {
// ...right?
const max = 4095;
const UsedSize = std.math.IntFittingRange(0, max + 1);
- const default_allocator = @import("./global.zig").default_allocator;
+ const default_allocator = @import("bun").default_allocator;
used: UsedSize = 0,
allocated: UsedSize = 0,
ptrs: [max]*Block = undefined,