| ... | ... | @@ -135,6 +135,7 @@ pub fn main(init: process.Init.Minimal) !void { |
| 135 | 135 | // The build runner is long-lived in the following use cases: |
| 136 | 136 | // * `--watch` mode |
| 137 | 137 | // * `--webui` mode |
| 138 | // * `--fuzz` mode |
| 138 | 139 | // * A project that has a large, complex build graph. |
| 139 | 140 | const gpa = if (use_safe_allocator) safe_allocator_instance.allocator() else std.heap.smp_allocator; |
| 140 | 141 | defer if (use_safe_allocator) { |
| ... | ... | @@ -552,6 +553,8 @@ pub fn main(init: process.Init.Minimal) !void { |
| 552 | 553 | const early_exit_mode = fetch_only or help_menu or steps_menu or print_configuration != .none; |
| 553 | 554 | const server_mode = !early_exit_mode and (watch or webui_listen != null or fuzz != null); |
| 554 | 555 | |
| 556 | process.raiseFileDescriptorLimit(); |
| 557 | |
| 555 | 558 | const cwd_path = std.zig.getResolvedCwd(io, arena) catch |err| |
| 556 | 559 | fatal("resolving current directory path failed: {t}", .{err}); |
| 557 | 560 | |