Fix Fuchsia build broken by #124210

Fuchsia doesn't support dirfd although we have a symbol stubbed for it.
This commit is contained in:
David Koloski 2024-04-29 17:00:03 +00:00
parent 7a58674259
commit 982a58e900

View File

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