File tree 4 files changed +17
-2
lines changed
4 files changed +17
-2
lines changed Original file line number Diff line number Diff line change 71
71
strategy :
72
72
fail-fast : false
73
73
matrix :
74
- target : ["armv7-sony-vita-newlibeabihf"]
74
+ target : ["armv7-sony-vita-newlibeabihf", "i686-unknown-hurd-gnu" ]
75
75
steps :
76
76
- uses : actions/checkout@v3
77
77
- uses : dtolnay/rust-toolchain@nightly
@@ -108,7 +108,7 @@ jobs:
108
108
strategy :
109
109
fail-fast : false
110
110
matrix :
111
- target : ["armv7-sony-vita-newlibeabihf"]
111
+ target : ["armv7-sony-vita-newlibeabihf", "i686-unknown-hurd-gnu" ]
112
112
steps :
113
113
- uses : actions/checkout@v3
114
114
- 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 {
760
760
target_os = "dragonfly" ,
761
761
target_os = "freebsd" ,
762
762
target_os = "fuchsia" ,
763
+ target_os = "hurd" ,
763
764
target_os = "illumos" ,
764
765
target_os = "linux" ,
765
766
target_os = "netbsd" ,
@@ -786,6 +787,7 @@ fn set_common_flags(socket: Socket) -> io::Result<Socket> {
786
787
target_os = "dragonfly" ,
787
788
target_os = "freebsd" ,
788
789
target_os = "fuchsia" ,
790
+ target_os = "hurd" ,
789
791
target_os = "illumos" ,
790
792
target_os = "linux" ,
791
793
target_os = "netbsd" ,
@@ -1307,6 +1309,7 @@ impl Socket {
1307
1309
#[ cfg( not( any(
1308
1310
target_os = "dragonfly" ,
1309
1311
target_os = "haiku" ,
1312
+ target_os = "hurd" ,
1310
1313
target_os = "netbsd" ,
1311
1314
target_os = "openbsd" ,
1312
1315
target_os = "redox" ,
@@ -1344,6 +1347,7 @@ impl Socket {
1344
1347
#[ cfg( not( any(
1345
1348
target_os = "dragonfly" ,
1346
1349
target_os = "haiku" ,
1350
+ target_os = "hurd" ,
1347
1351
target_os = "netbsd" ,
1348
1352
target_os = "openbsd" ,
1349
1353
target_os = "redox" ,
@@ -1521,6 +1525,7 @@ impl Socket {
1521
1525
target_os = "aix" ,
1522
1526
target_os = "dragonfly" ,
1523
1527
target_os = "fuchsia" ,
1528
+ target_os = "hurd" ,
1524
1529
target_os = "illumos" ,
1525
1530
target_os = "netbsd" ,
1526
1531
target_os = "openbsd" ,
@@ -1551,6 +1556,7 @@ impl Socket {
1551
1556
target_os = "aix" ,
1552
1557
target_os = "dragonfly" ,
1553
1558
target_os = "fuchsia" ,
1559
+ target_os = "hurd" ,
1554
1560
target_os = "illumos" ,
1555
1561
target_os = "netbsd" ,
1556
1562
target_os = "openbsd" ,
@@ -1775,6 +1781,7 @@ impl Socket {
1775
1781
target_os = "redox" ,
1776
1782
target_os = "solaris" ,
1777
1783
target_os = "haiku" ,
1784
+ target_os = "hurd" ,
1778
1785
target_os = "espidf" ,
1779
1786
target_os = "vita" ,
1780
1787
) ) ) ]
@@ -1799,6 +1806,7 @@ impl Socket {
1799
1806
target_os = "redox" ,
1800
1807
target_os = "solaris" ,
1801
1808
target_os = "haiku" ,
1809
+ target_os = "hurd" ,
1802
1810
target_os = "espidf" ,
1803
1811
target_os = "vita" ,
1804
1812
) ) ) ]
Original file line number Diff line number Diff line change @@ -121,6 +121,7 @@ pub(crate) use libc::ipv6_mreq as Ipv6Mreq;
121
121
#[ cfg( not( any(
122
122
target_os = "dragonfly" ,
123
123
target_os = "fuchsia" ,
124
+ target_os = "hurd" ,
124
125
target_os = "illumos" ,
125
126
target_os = "netbsd" ,
126
127
target_os = "openbsd" ,
@@ -143,6 +144,7 @@ pub(crate) use libc::IP_HDRINCL;
143
144
target_os = "redox" ,
144
145
target_os = "solaris" ,
145
146
target_os = "haiku" ,
147
+ target_os = "hurd" ,
146
148
target_os = "nto" ,
147
149
target_os = "espidf" ,
148
150
target_os = "vita" ,
@@ -179,6 +181,7 @@ pub(crate) use libc::{
179
181
#[ cfg( not( any(
180
182
target_os = "dragonfly" ,
181
183
target_os = "haiku" ,
184
+ target_os = "hurd" ,
182
185
target_os = "netbsd" ,
183
186
target_os = "openbsd" ,
184
187
target_os = "redox" ,
@@ -329,6 +332,7 @@ type IovLen = usize;
329
332
target_os = "freebsd" ,
330
333
target_os = "fuchsia" ,
331
334
target_os = "haiku" ,
335
+ target_os = "hurd" ,
332
336
target_os = "illumos" ,
333
337
target_os = "ios" ,
334
338
target_os = "macos" ,
@@ -446,6 +450,7 @@ impl Type {
446
450
target_os = "dragonfly" ,
447
451
target_os = "freebsd" ,
448
452
target_os = "fuchsia" ,
453
+ target_os = "hurd" ,
449
454
target_os = "illumos" ,
450
455
target_os = "linux" ,
451
456
target_os = "netbsd" ,
@@ -464,6 +469,7 @@ impl Type {
464
469
target_os = "dragonfly" ,
465
470
target_os = "freebsd" ,
466
471
target_os = "fuchsia" ,
472
+ target_os = "hurd" ,
467
473
target_os = "illumos" ,
468
474
target_os = "linux" ,
469
475
target_os = "netbsd" ,
Original file line number Diff line number Diff line change @@ -348,6 +348,7 @@ fn set_cloexec() {
348
348
target_os = "dragonfly" ,
349
349
target_os = "freebsd" ,
350
350
target_os = "fuchsia" ,
351
+ target_os = "hurd" ,
351
352
target_os = "linux" ,
352
353
target_os = "netbsd" ,
353
354
target_os = "openbsd"
You can’t perform that action at this time.
0 commit comments