Skip to content

Commit 8cec354

Browse files
author
David Koloski
committed
Fix Fuchsia build broken by rust-lang#124210
Fuchsia doesn't support dirfd although we have a symbol stubbed for it.
1 parent 05d6270 commit 8cec354

File tree

1 file changed

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

1 file changed

+1
-0
lines changed

Diff for: 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)