diff options
| author | morinmorin <mimomorin@gmail.com> | 2025-07-25 23:22:36 +0900 |
|---|---|---|
| committer | morinmorin <mimomorin@gmail.com> | 2025-07-25 23:22:36 +0900 |
| commit | a6f266612a42737ee46b69645244975e75406b60 (patch) | |
| tree | 6abd5356fb43f54fd0e2898d0810e4f07e8e7bd7 /compiler/rustc_pattern_analysis | |
| parent | b56aaec52bc0fa35591a872fb4aac81f606e265c (diff) | |
| download | rust-a6f266612a42737ee46b69645244975e75406b60.tar.gz rust-a6f266612a42737ee46b69645244975e75406b60.zip | |
std/sys/fd: remove `- 1` from `READ_LIMIT` on Darwin
Darwin's `read`/`write` syscalls emit `EINVAL` only when `nbyte > INT_MAX`. The case `nbyte == INT_MAX` is valid, so the subtraction can be removed.
Diffstat (limited to 'compiler/rustc_pattern_analysis')
0 files changed, 0 insertions, 0 deletions
