mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-03 09:32:42 +00:00
Rollup merge of #160071 - RalfJung:sanitize_standard_fds, r=clarfonthey
sanitize_standard_fds: clarify macos comment Thanks to @tmiasko for remembering the missing context.
This commit is contained in:
@@ -84,7 +84,7 @@ pub unsafe fn init(argc: isize, argv: *const *const u8, sigpipe: u8) {
|
||||
target_os = "horizon",
|
||||
target_os = "vita",
|
||||
target_os = "rtems",
|
||||
// The poll on Darwin doesn't set POLLNVAL for closed fds.
|
||||
// The poll on Darwin doesn't set POLLNVAL for closed fds when `events == 0`.
|
||||
target_vendor = "apple",
|
||||
)))]
|
||||
'poll: {
|
||||
|
||||
Reference in New Issue
Block a user