mirror of
https://github.com/rust-lang/rust
synced 2024-10-01 06:14:33 +00:00
Rollup merge of #124649 - Meziu:master, r=ChrisDenton
Fix HorizonOS build broken by #124210 HorizonOS (for the Tier-3 target `armv6k-nintendo-3ds`) does not support `dirfd()`, as many other similar targets.
This commit is contained in:
commit
a7f4a2edc6
|
@ -860,6 +860,7 @@ fn drop(&mut self) {
|
|||
target_os = "hurd",
|
||||
target_os = "espidf",
|
||||
target_os = "fuchsia",
|
||||
target_os = "horizon",
|
||||
)))]
|
||||
{
|
||||
let fd = unsafe { libc::dirfd(self.0) };
|
||||
|
|
Loading…
Reference in a new issue