Horizon OS: dirfd unavailable

This commit is contained in:
Andrea Ciliberti 2024-05-03 10:09:28 +02:00
parent 79734f1db8
commit bdf1eae360

View file

@ -860,6 +860,7 @@ impl Drop for Dir {
target_os = "hurd",
target_os = "espidf",
target_os = "fuchsia",
target_os = "horizon",
)))]
{
let fd = unsafe { libc::dirfd(self.0) };