diff options
Diffstat (limited to 'src/allocators.zig')
-rw-r--r-- | src/allocators.zig | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/allocators.zig b/src/allocators.zig index b004fa926..2827214af 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("bun").constStrToU8; -const bun = @import("bun"); +const constStrToU8 = @import("root").bun.constStrToU8; +const bun = @import("root").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("bun").default_allocator; + const default_allocator = @import("root").bun.default_allocator; used: UsedSize = 0, allocated: UsedSize = 0, ptrs: [max]*Block = undefined, |