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:
commit
d94eabaf9b
@ -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) };
|
||||
|
Loading…
x
Reference in New Issue
Block a user