Rollup merge of #128259 - sunshowers:msg-nosignal, r=Mark-Simulacrum · patricklam/verify-rust-std@4ea98d7 (original) (raw)

2 files changed

lines changed

Original file line number Diff line number Diff line change
@@ -20,6 +20,8 @@ use crate::{fmt, io};
20 20 target_os = "freebsd",
21 21 target_os = "openbsd",
22 22 target_os = "netbsd",
23 + target_os = "solaris",
24 + target_os = "illumos",
23 25 target_os = "haiku",
24 26 target_os = "nto",
25 27 ))]
@@ -31,6 +33,8 @@ use libc::MSG_NOSIGNAL;
31 33 target_os = "freebsd",
32 34 target_os = "openbsd",
33 35 target_os = "netbsd",
36 + target_os = "solaris",
37 + target_os = "illumos",
34 38 target_os = "haiku",
35 39 target_os = "nto",
36 40 )))]
Original file line number Diff line number Diff line change
@@ -42,6 +42,7 @@ cfg_if::cfg_if! {
42 42 target_os = "hurd",
43 43 target_os = "dragonfly", target_os = "freebsd",
44 44 target_os = "openbsd", target_os = "netbsd",
45 + target_os = "solaris", target_os = "illumos",
45 46 target_os = "haiku", target_os = "nto"))] {
46 47 use libc::MSG_NOSIGNAL;
47 48 } else {