@@ -45,19 +45,19 @@ extern {}
45
45
// explicitly request it), and on Android we explicitly request it as
46
46
// unprefixing cause segfaults (mismatches in allocators).
47
47
extern {
48
- #[ cfg_attr( any( target_os = "macos" , target_os = "android" ) ,
48
+ #[ cfg_attr( any( target_os = "macos" , target_os = "android" , target_os = "ios" ) ,
49
49
link_name = "je_mallocx" ) ]
50
50
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" ) ,
52
52
link_name = "je_rallocx" ) ]
53
53
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" ) ,
55
55
link_name = "je_xallocx" ) ]
56
56
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" ) ,
58
58
link_name = "je_sdallocx" ) ]
59
59
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" ) ,
61
61
link_name = "je_nallocx" ) ]
62
62
fn nallocx ( size : size_t , flags : c_int ) -> size_t ;
63
63
}
0 commit comments