Skip to content

Commit 982a58e

Browse files
author
David Koloski
committed
Fix Fuchsia build broken by #124210
Fuchsia doesn't support dirfd although we have a symbol stubbed for it.
1 parent 7a58674 commit 982a58e

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
@@ -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)