File tree Expand file tree Collapse file tree 3 files changed +5
-0
lines changed Expand file tree Collapse file tree 3 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -1936,6 +1936,9 @@ fn test_android(target: &str) {
19361936 // Added in API level 28, but some tests use level 24.
19371937 "fread_unlocked" | "fwrite_unlocked" | "fgets_unlocked" | "fflush_unlocked" => true ,
19381938
1939+ // Added in API level 28, but some tests use level 24.
1940+ "aligned_alloc" => true ,
1941+
19391942 // FIXME: bad function pointers:
19401943 "isalnum" | "isalpha" | "iscntrl" | "isdigit" | "isgraph" | "islower" | "isprint"
19411944 | "ispunct" | "isspace" | "isupper" | "isxdigit" | "isblank" | "tolower"
Original file line number Diff line number Diff line change @@ -452,6 +452,7 @@ accept
452452access
453453addrinfo
454454alarm
455+ aligned_alloc
455456atexit
456457atof
457458atoi
Original file line number Diff line number Diff line change @@ -896,6 +896,7 @@ extern "C" {
896896 pub fn pathconf ( path : * const c_char , name : :: c_int ) -> c_long ;
897897 pub fn pipe ( fds : * mut :: c_int ) -> :: c_int ;
898898 pub fn posix_memalign ( memptr : * mut * mut :: c_void , align : :: size_t , size : :: size_t ) -> :: c_int ;
899+ pub fn aligned_alloc ( alignment : :: size_t , size : :: size_t ) -> * mut :: c_void ;
899900 #[ cfg_attr(
900901 all( target_os = "macos" , target_arch = "x86" ) ,
901902 link_name = "read$UNIX2003"
You can’t perform that action at this time.
0 commit comments