@@ -71,6 +71,10 @@ pub fn main() anyerror!noreturn {
}
}
// It's handy when scanning to have open many file descriptors, especially
// if the system has many CPU cores, causing the thread pool to be large.
std.process.raiseFileDescriptorLimit();
const install_directory: Directory = opt_install_directory orelse b: {
const path_name = std.fs.selfExeDirPathAlloc(arena) catch |err|
fatal("unable to determine installation directory: {s}", .{@errorName(err)});