File tree Expand file tree Collapse file tree 4 files changed +17
-2
lines changed Expand file tree Collapse file tree 4 files changed +17
-2
lines changed Original file line number Diff line number Diff line change 7171 strategy :
7272 fail-fast : false
7373 matrix :
74- target : ["armv7-sony-vita-newlibeabihf"]
74+ target : ["armv7-sony-vita-newlibeabihf", "i686-unknown-hurd-gnu" ]
7575 steps :
7676 - uses : actions/checkout@v3
7777 - uses : dtolnay/rust-toolchain@nightly
@@ -108,7 +108,7 @@ jobs:
108108 strategy :
109109 fail-fast : false
110110 matrix :
111- target : ["armv7-sony-vita-newlibeabihf"]
111+ target : ["armv7-sony-vita-newlibeabihf", "i686-unknown-hurd-gnu" ]
112112 steps :
113113 - uses : actions/checkout@v3
114114 - uses : dtolnay/rust-toolchain@nightly # NOTE: need nightly for `doc_cfg` feature.
Original file line number Diff line number Diff line change @@ -760,6 +760,7 @@ const fn set_common_type(ty: Type) -> Type {
760760 target_os = "dragonfly" ,
761761 target_os = "freebsd" ,
762762 target_os = "fuchsia" ,
763+ target_os = "hurd" ,
763764 target_os = "illumos" ,
764765 target_os = "linux" ,
765766 target_os = "netbsd" ,
@@ -786,6 +787,7 @@ fn set_common_flags(socket: Socket) -> io::Result<Socket> {
786787 target_os = "dragonfly" ,
787788 target_os = "freebsd" ,
788789 target_os = "fuchsia" ,
790+ target_os = "hurd" ,
789791 target_os = "illumos" ,
790792 target_os = "linux" ,
791793 target_os = "netbsd" ,
@@ -1307,6 +1309,7 @@ impl Socket {
13071309 #[ cfg( not( any(
13081310 target_os = "dragonfly" ,
13091311 target_os = "haiku" ,
1312+ target_os = "hurd" ,
13101313 target_os = "netbsd" ,
13111314 target_os = "openbsd" ,
13121315 target_os = "redox" ,
@@ -1344,6 +1347,7 @@ impl Socket {
13441347 #[ cfg( not( any(
13451348 target_os = "dragonfly" ,
13461349 target_os = "haiku" ,
1350+ target_os = "hurd" ,
13471351 target_os = "netbsd" ,
13481352 target_os = "openbsd" ,
13491353 target_os = "redox" ,
@@ -1521,6 +1525,7 @@ impl Socket {
15211525 target_os = "aix" ,
15221526 target_os = "dragonfly" ,
15231527 target_os = "fuchsia" ,
1528+ target_os = "hurd" ,
15241529 target_os = "illumos" ,
15251530 target_os = "netbsd" ,
15261531 target_os = "openbsd" ,
@@ -1551,6 +1556,7 @@ impl Socket {
15511556 target_os = "aix" ,
15521557 target_os = "dragonfly" ,
15531558 target_os = "fuchsia" ,
1559+ target_os = "hurd" ,
15541560 target_os = "illumos" ,
15551561 target_os = "netbsd" ,
15561562 target_os = "openbsd" ,
@@ -1775,6 +1781,7 @@ impl Socket {
17751781 target_os = "redox" ,
17761782 target_os = "solaris" ,
17771783 target_os = "haiku" ,
1784+ target_os = "hurd" ,
17781785 target_os = "espidf" ,
17791786 target_os = "vita" ,
17801787 ) ) ) ]
@@ -1799,6 +1806,7 @@ impl Socket {
17991806 target_os = "redox" ,
18001807 target_os = "solaris" ,
18011808 target_os = "haiku" ,
1809+ target_os = "hurd" ,
18021810 target_os = "espidf" ,
18031811 target_os = "vita" ,
18041812 ) ) ) ]
Original file line number Diff line number Diff line change @@ -121,6 +121,7 @@ pub(crate) use libc::ipv6_mreq as Ipv6Mreq;
121121#[ cfg( not( any(
122122 target_os = "dragonfly" ,
123123 target_os = "fuchsia" ,
124+ target_os = "hurd" ,
124125 target_os = "illumos" ,
125126 target_os = "netbsd" ,
126127 target_os = "openbsd" ,
@@ -143,6 +144,7 @@ pub(crate) use libc::IP_HDRINCL;
143144 target_os = "redox" ,
144145 target_os = "solaris" ,
145146 target_os = "haiku" ,
147+ target_os = "hurd" ,
146148 target_os = "nto" ,
147149 target_os = "espidf" ,
148150 target_os = "vita" ,
@@ -179,6 +181,7 @@ pub(crate) use libc::{
179181#[ cfg( not( any(
180182 target_os = "dragonfly" ,
181183 target_os = "haiku" ,
184+ target_os = "hurd" ,
182185 target_os = "netbsd" ,
183186 target_os = "openbsd" ,
184187 target_os = "redox" ,
@@ -329,6 +332,7 @@ type IovLen = usize;
329332 target_os = "freebsd" ,
330333 target_os = "fuchsia" ,
331334 target_os = "haiku" ,
335+ target_os = "hurd" ,
332336 target_os = "illumos" ,
333337 target_os = "ios" ,
334338 target_os = "macos" ,
@@ -446,6 +450,7 @@ impl Type {
446450 target_os = "dragonfly" ,
447451 target_os = "freebsd" ,
448452 target_os = "fuchsia" ,
453+ target_os = "hurd" ,
449454 target_os = "illumos" ,
450455 target_os = "linux" ,
451456 target_os = "netbsd" ,
@@ -464,6 +469,7 @@ impl Type {
464469 target_os = "dragonfly" ,
465470 target_os = "freebsd" ,
466471 target_os = "fuchsia" ,
472+ target_os = "hurd" ,
467473 target_os = "illumos" ,
468474 target_os = "linux" ,
469475 target_os = "netbsd" ,
Original file line number Diff line number Diff line change @@ -348,6 +348,7 @@ fn set_cloexec() {
348348 target_os = "dragonfly" ,
349349 target_os = "freebsd" ,
350350 target_os = "fuchsia" ,
351+ target_os = "hurd" ,
351352 target_os = "linux" ,
352353 target_os = "netbsd" ,
353354 target_os = "openbsd"
You can’t perform that action at this time.
0 commit comments