Skip to content

Commit

Permalink
Unrolled build for rust-lang#124649
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
rust-timer authored May 3, 2024
2 parents 561b5de + bdf1eae commit 8b203e2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions library/std/src/sys/pal/unix/fs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -860,6 +860,7 @@ impl Drop for Dir {
target_os = "hurd",
target_os = "espidf",
target_os = "fuchsia",
target_os = "horizon",
)))]
{
let fd = unsafe { libc::dirfd(self.0) };
Expand Down

0 comments on commit 8b203e2

Please sign in to comment.