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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue