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:
Jonathan Brouwer
2026-07-28 21:08:06 +02:00
committed by GitHub

View File

@@ -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: {