Skip to content

Commit 291100e

Browse files
sthibaulnagisa
authored andcommitted
Add GNU/Hurd support
1 parent 83b1037 commit 291100e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/os/unix/consts.rs

+4
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ mod posix {
8383
target_os = "fuchsia",
8484
target_os = "redox",
8585
target_os = "nto",
86+
target_os = "hurd",
8687
))] {
8788
pub(super) const RTLD_LAZY: c_int = 1;
8889
} else {
@@ -117,6 +118,7 @@ mod posix {
117118
target_os = "fuchsia",
118119
target_os = "redox",
119120
target_os = "nto",
121+
target_os = "hurd",
120122
))] {
121123
pub(super) const RTLD_NOW: c_int = 2;
122124
} else if #[cfg(all(target_os = "android",target_pointer_width = "32"))] {
@@ -165,6 +167,7 @@ mod posix {
165167
target_os = "fuchsia",
166168
target_os = "redox",
167169
target_os = "nto",
170+
target_os = "hurd",
168171
))] {
169172
pub(super) const RTLD_GLOBAL: c_int = 0x100;
170173
} else {
@@ -206,6 +209,7 @@ mod posix {
206209

207210
target_os = "fuchsia",
208211
target_os = "redox",
212+
target_os = "hurd",
209213
))] {
210214
pub(super) const RTLD_LOCAL: c_int = 0;
211215
} else {

0 commit comments

Comments
 (0)