mirror of
https://github.com/oven-sh/bun
synced 2026-02-13 04:18:58 +00:00
@@ -9,8 +9,8 @@ pub var dynamic: *std.mem.Allocator = undefined;
|
||||
|
||||
pub fn setup(root: *std.mem.Allocator) !void {
|
||||
needs_setup = false;
|
||||
static = std.heap.c_allocator;
|
||||
dynamic = std.heap.c_allocator;
|
||||
static = root;
|
||||
dynamic = root;
|
||||
// static = @ptrCast(*std.mem.Allocator, &stat.allocator);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user