Skip to content

Commit f17f25a

Browse files
committed
redox: Enable getres/setres
1 parent 69c0505 commit f17f25a

1 file changed

Lines changed: 24 additions & 4 deletions

File tree

src/unistd.rs

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,20 @@ feature! {
3939
pub use self::pivot_root::*;
4040
}
4141

42-
#[cfg(any(freebsdlike, linux_android, target_os = "openbsd"))]
42+
#[cfg(any(
43+
freebsdlike,
44+
linux_android,
45+
target_os = "openbsd",
46+
target_os = "redox"
47+
))]
4348
pub use self::setres::*;
4449

45-
#[cfg(any(freebsdlike, linux_android, target_os = "openbsd"))]
50+
#[cfg(any(
51+
freebsdlike,
52+
linux_android,
53+
target_os = "openbsd",
54+
target_os = "redox"
55+
))]
4656
pub use self::getres::*;
4757

4858
feature! {
@@ -3225,7 +3235,12 @@ mod pivot_root {
32253235
}
32263236
}
32273237

3228-
#[cfg(any(linux_android, freebsdlike, target_os = "openbsd"))]
3238+
#[cfg(any(
3239+
linux_android,
3240+
freebsdlike,
3241+
target_os = "openbsd",
3242+
target_os = "redox"
3243+
))]
32293244
mod setres {
32303245
feature! {
32313246
#![feature = "user"]
@@ -3270,7 +3285,12 @@ mod setres {
32703285
}
32713286
}
32723287

3273-
#[cfg(any(linux_android, freebsdlike, target_os = "openbsd"))]
3288+
#[cfg(any(
3289+
linux_android,
3290+
freebsdlike,
3291+
target_os = "openbsd",
3292+
target_os = "redox"
3293+
))]
32743294
mod getres {
32753295
feature! {
32763296
#![feature = "user"]

0 commit comments

Comments
 (0)