Former-commit-id: 67546a63021c0b5b58841a03115fa699ae3e441f
This commit is contained in:
Jarred Sumner
2021-08-18 16:50:39 -07:00
parent abdc26a5fc
commit 0ba399d8ed
4 changed files with 2 additions and 8 deletions

View File

@@ -428,6 +428,7 @@ pub const NodeModuleBundle = struct {
}
}
};
if (isMac) {
// darwin only allows reading ahead on/off, not specific amount
_ = std.os.fcntl(input.handle, std.os.F_RDAHEAD, 1) catch 0;