Skip to content

Commit

Permalink
Unrolled build for rust-lang#124530
Browse files Browse the repository at this point in the history
Rollup merge of rust-lang#124530 - djkoloski:fuchsia_dirfd, r=tmandry

Fix Fuchsia build broken by rust-lang#124210

Fuchsia doesn't support dirfd although we have a symbol stubbed for it.
  • Loading branch information
rust-timer committed Apr 30, 2024
2 parents a8a1d3a + 982a58e commit 1b6eb52
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 @@ -894,6 +894,7 @@ impl Drop for Dir {
target_os = "vita",
target_os = "hurd",
target_os = "espidf",
target_os = "fuchsia",
)))]
{
let fd = unsafe { libc::dirfd(self.0) };
Expand Down

0 comments on commit 1b6eb52

Please sign in to comment.