Rollup merge of #124530 - djkoloski:fuchsia_dirfd, r=tmandry

Fix Fuchsia build broken by #124210

Fuchsia doesn't support dirfd although we have a symbol stubbed for it.
This commit is contained in:
Matthias Krüger 2024-04-29 22:37:51 +02:00 committed by GitHub
commit d94eabaf9b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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