Skip to content

Commit bf8f5ba

Browse files
committed
Add Type::cloexec for Redox
1 parent 040f826 commit bf8f5ba

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/sys/unix.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -409,6 +409,7 @@ impl Type {
409409
target_os = "linux",
410410
target_os = "netbsd",
411411
target_os = "openbsd",
412+
target_os = "redox",
412413
target_os = "solaris",
413414
)
414415
))]
@@ -425,6 +426,7 @@ impl Type {
425426
target_os = "linux",
426427
target_os = "netbsd",
427428
target_os = "openbsd",
429+
target_os = "redox",
428430
target_os = "solaris",
429431
)
430432
)))
@@ -442,6 +444,7 @@ impl Type {
442444
target_os = "linux",
443445
target_os = "netbsd",
444446
target_os = "openbsd",
447+
target_os = "redox",
445448
target_os = "solaris",
446449
))]
447450
pub(crate) const fn _cloexec(self) -> Type {

0 commit comments

Comments
 (0)