Skip to content

Commit 8b203e2

Browse files
authored
Unrolled build for rust-lang#124649
Rollup merge of rust-lang#124649 - Meziu:master, r=ChrisDenton Fix HorizonOS build broken by rust-lang#124210 HorizonOS (for the Tier-3 target `armv6k-nintendo-3ds`) does not support `dirfd()`, as many other similar targets.
2 parents 561b5de + bdf1eae commit 8b203e2

File tree

1 file changed

+1
-0
lines changed
  • library/std/src/sys/pal/unix

1 file changed

+1
-0
lines changed

library/std/src/sys/pal/unix/fs.rs

+1
Original file line numberDiff line numberDiff line change
@@ -860,6 +860,7 @@ impl Drop for Dir {
860860
target_os = "hurd",
861861
target_os = "espidf",
862862
target_os = "fuchsia",
863+
target_os = "horizon",
863864
)))]
864865
{
865866
let fd = unsafe { libc::dirfd(self.0) };

0 commit comments

Comments
 (0)