diff options
author | 2021-10-01 15:05:34 -0700 | |
---|---|---|
committer | 2021-10-01 15:05:34 -0700 | |
commit | 222027991f65c6520b747b4d3f3be6dec14083ff (patch) | |
tree | 2485466e7ec703d4ea08afdb21c83c229160244c /src/options.zig | |
parent | c8127d0ae6f7e1efa3e514411bc08d21ff22cbdc (diff) | |
download | bun-222027991f65c6520b747b4d3f3be6dec14083ff.tar.gz bun-222027991f65c6520b747b4d3f3be6dec14083ff.tar.zst bun-222027991f65c6520b747b4d3f3be6dec14083ff.zip |
Build stuff
Diffstat (limited to '')
-rw-r--r-- | src/options.zig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/options.zig b/src/options.zig index af574ca1d..d6c96034c 100644 --- a/src/options.zig +++ b/src/options.zig @@ -1535,6 +1535,7 @@ pub const OutputFile = struct { // most efficient method (if available). var offset: u64 = 0; cfr_loop: while (true) { + const math = std.math; // The kernel checks the u64 value `offset+count` for overflow, use // a 32 bit value so that the syscall won't return EINVAL except for // impossibly large files (> 2^64-1 - 2^32-1). |