File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -3273,7 +3273,7 @@ extern "C" {
3273
3273
pub fn setgrent ( ) ;
3274
3274
#[ doc( hidden) ]
3275
3275
#[ deprecated( since = "0.2.49" , note = "Deprecated in MacOSX 10.5" ) ]
3276
- #[ link_name = "daemon$1050" ]
3276
+ #[ cfg_attr ( not ( target_arch = "aarch64" ) , link_name = "daemon$1050" ) ]
3277
3277
pub fn daemon ( nochdir : :: c_int , noclose : :: c_int ) -> :: c_int ;
3278
3278
#[ doc( hidden) ]
3279
3279
#[ deprecated( since = "0.2.49" , note = "Deprecated in MacOSX 10.10" ) ]
@@ -3441,9 +3441,15 @@ extern "C" {
3441
3441
) -> :: c_int ;
3442
3442
pub fn __error ( ) -> * mut :: c_int ;
3443
3443
pub fn backtrace ( buf : * mut * mut :: c_void , sz : :: c_int ) -> :: c_int ;
3444
- #[ cfg_attr( target_os = "macos" , link_name = "statfs$INODE64" ) ]
3444
+ #[ cfg_attr(
3445
+ all( target_os = "macos" , not( target_arch = "aarch64" ) ) ,
3446
+ link_name = "statfs$INODE64"
3447
+ ) ]
3445
3448
pub fn statfs ( path : * const :: c_char , buf : * mut statfs ) -> :: c_int ;
3446
- #[ cfg_attr( target_os = "macos" , link_name = "fstatfs$INODE64" ) ]
3449
+ #[ cfg_attr(
3450
+ all( target_os = "macos" , not( target_arch = "aarch64" ) ) ,
3451
+ link_name = "fstatfs$INODE64"
3452
+ ) ]
3447
3453
pub fn fstatfs ( fd : :: c_int , buf : * mut statfs ) -> :: c_int ;
3448
3454
pub fn kevent (
3449
3455
kq : :: c_int ,
You can’t perform that action at this time.
0 commit comments