@@ -45,19 +45,19 @@ extern {}
4545// explicitly request it), and on Android we explicitly request it as
4646// unprefixing cause segfaults (mismatches in allocators).
4747extern {
48- #[ cfg_attr( any( target_os = "macos" , target_os = "android" ) ,
48+ #[ cfg_attr( any( target_os = "macos" , target_os = "android" , target_os = "ios" ) ,
4949 link_name = "je_mallocx" ) ]
5050 fn mallocx ( size : size_t , flags : c_int ) -> * mut c_void ;
51- #[ cfg_attr( any( target_os = "macos" , target_os = "android" ) ,
51+ #[ cfg_attr( any( target_os = "macos" , target_os = "android" , target_os = "ios" ) ,
5252 link_name = "je_rallocx" ) ]
5353 fn rallocx ( ptr : * mut c_void , size : size_t , flags : c_int ) -> * mut c_void ;
54- #[ cfg_attr( any( target_os = "macos" , target_os = "android" ) ,
54+ #[ cfg_attr( any( target_os = "macos" , target_os = "android" , target_os = "ios" ) ,
5555 link_name = "je_xallocx" ) ]
5656 fn xallocx ( ptr : * mut c_void , size : size_t , extra : size_t , flags : c_int ) -> size_t ;
57- #[ cfg_attr( any( target_os = "macos" , target_os = "android" ) ,
57+ #[ cfg_attr( any( target_os = "macos" , target_os = "android" , target_os = "ios" ) ,
5858 link_name = "je_sdallocx" ) ]
5959 fn sdallocx ( ptr : * mut c_void , size : size_t , flags : c_int ) ;
60- #[ cfg_attr( any( target_os = "macos" , target_os = "android" ) ,
60+ #[ cfg_attr( any( target_os = "macos" , target_os = "android" , target_os = "ios" ) ,
6161 link_name = "je_nallocx" ) ]
6262 fn nallocx ( size : size_t , flags : c_int ) -> size_t ;
6363}
0 commit comments