mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 23:04:33 +00:00
Fix Fuchsia build broken by #124210
Fuchsia doesn't support dirfd although we have a symbol stubbed for it.
This commit is contained in:
parent
7a58674259
commit
982a58e900
@ -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…
Reference in New Issue
Block a user