Skip to content

Commit ddf4a17

Browse files
authored
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.
2 parents dcd9992 + 8cec354 commit ddf4a17

File tree

1 file changed

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

1 file changed

+1
-0
lines changed

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

+1
Original file line numberDiff line numberDiff line change
@@ -894,6 +894,7 @@ impl Drop for Dir {
894894
target_os = "vita",
895895
target_os = "hurd",
896896
target_os = "espidf",
897+
target_os = "fuchsia",
897898
)))]
898899
{
899900
let fd = unsafe { libc::dirfd(self.0) };

0 commit comments

Comments
 (0)