mirror of
https://github.com/oven-sh/bun
synced 2026-02-11 03:18:53 +00:00
[internal] Global.configureAllocator()
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
const Server = @import("../http.zig").Server;
|
||||
const Command = @import("../cli.zig").Command;
|
||||
|
||||
const Global = @import("../global.zig").Global;
|
||||
pub const DevCommand = struct {
|
||||
pub fn exec(ctx: Command.Context) !void {
|
||||
Global.configureAllocator(.{ .long_running = true });
|
||||
try Server.start(ctx.allocator, ctx.args, @TypeOf(ctx.debug), ctx.debug);
|
||||
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user