about summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis
diff options
context:
space:
mode:
authormorinmorin <mimomorin@gmail.com>2025-07-25 23:22:36 +0900
committermorinmorin <mimomorin@gmail.com>2025-07-25 23:22:36 +0900
commita6f266612a42737ee46b69645244975e75406b60 (patch)
tree6abd5356fb43f54fd0e2898d0810e4f07e8e7bd7 /compiler/rustc_pattern_analysis
parentb56aaec52bc0fa35591a872fb4aac81f606e265c (diff)
downloadrust-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