We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c2d5c64 commit 8c18844Copy full SHA for 8c18844
library/std/src/sys/unix/fs.rs
@@ -1562,6 +1562,9 @@ mod remove_dir_impl {
1562
}
1563
1564
pub unsafe fn fdopendir(fd: c_int) -> *mut DIR {
1565
+ #[cfg(all(target_os = "macos", target_arch = "x86"))]
1566
+ weak!(fn fdopendir(c_int) -> *mut DIR, "fdopendir$INODE64$UNIX2003");
1567
+ #[cfg(all(target_os = "macos", target_arch = "x86_64"))]
1568
weak!(fn fdopendir(c_int) -> *mut DIR, "fdopendir$INODE64");
1569
fdopendir.get().map(|fdopendir| fdopendir(fd)).unwrap_or_else(|| {
1570
crate::sys::unix::os::set_errno(libc::ENOSYS);
0 commit comments