{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/30601","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/30601/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/30601/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/30601/events","html_url":"https://github.com/rust-lang/rust/pull/30601","id":124147334,"number":30601,"title":"android has `posix_memalign` for API 16+ since NDK r10d","user":{"login":"tamird","id":1535036,"avatar_url":"https://avatars.githubusercontent.com/u/1535036?v=3","gravatar_id":"","url":"https://api.github.com/users/tamird","html_url":"https://github.com/tamird","followers_url":"https://api.github.com/users/tamird/followers","following_url":"https://api.github.com/users/tamird/following{/other_user}","gists_url":"https://api.github.com/users/tamird/gists{/gist_id}","starred_url":"https://api.github.com/users/tamird/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tamird/subscriptions","organizations_url":"https://api.github.com/users/tamird/orgs","repos_url":"https://api.github.com/users/tamird/repos","events_url":"https://api.github.com/users/tamird/events{/privacy}","received_events_url":"https://api.github.com/users/tamird/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"nikomatsakis","id":155238,"avatar_url":"https://avatars.githubusercontent.com/u/155238?v=3","gravatar_id":"","url":"https://api.github.com/users/nikomatsakis","html_url":"https://github.com/nikomatsakis","followers_url":"https://api.github.com/users/nikomatsakis/followers","following_url":"https://api.github.com/users/nikomatsakis/following{/other_user}","gists_url":"https://api.github.com/users/nikomatsakis/gists{/gist_id}","starred_url":"https://api.github.com/users/nikomatsakis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikomatsakis/subscriptions","organizations_url":"https://api.github.com/users/nikomatsakis/orgs","repos_url":"https://api.github.com/users/nikomatsakis/repos","events_url":"https://api.github.com/users/nikomatsakis/events{/privacy}","received_events_url":"https://api.github.com/users/nikomatsakis/received_events","type":"User","site_admin":false},"milestone":null,"comments":10,"created_at":"2015-12-29T01:05:41Z","updated_at":"2016-01-10T23:02:47Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rust-lang/rust/pulls/30601","html_url":"https://github.com/rust-lang/rust/pull/30601","diff_url":"https://github.com/rust-lang/rust/pull/30601.diff","patch_url":"https://github.com/rust-lang/rust/pull/30601.patch"},"body":"See: http://developer.android.com/ndk/downloads/revision_history.html\r\n\r\nAlso, use `libc`'s `posix_memalign`."},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/170403646","html_url":"https://github.com/rust-lang/rust/pull/30601#issuecomment-170403646","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/30601","id":170403646,"user":{"login":"alexcrichton","id":64996,"avatar_url":"https://avatars.githubusercontent.com/u/64996?v=3","gravatar_id":"","url":"https://api.github.com/users/alexcrichton","html_url":"https://github.com/alexcrichton","followers_url":"https://api.github.com/users/alexcrichton/followers","following_url":"https://api.github.com/users/alexcrichton/following{/other_user}","gists_url":"https://api.github.com/users/alexcrichton/gists{/gist_id}","starred_url":"https://api.github.com/users/alexcrichton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexcrichton/subscriptions","organizations_url":"https://api.github.com/users/alexcrichton/orgs","repos_url":"https://api.github.com/users/alexcrichton/repos","events_url":"https://api.github.com/users/alexcrichton/events{/privacy}","received_events_url":"https://api.github.com/users/alexcrichton/received_events","type":"User","site_admin":false},"created_at":"2016-01-10T23:02:47Z","updated_at":"2016-01-10T23:02:47Z","body":"Thanks for the PR! Although Android may have this API now, our nightlies are compiled against a pretty old version of the NDK to have a \"maximally compatible\" libstd. I think it's the case that `posix_memalign` isn't in that NDK, and this will likely fail CI with a link error on android (e.g. the symbol isn't defined).\r\n\r\nIncreasing the minimum supported Android version is likely out of the scope of this PR (as it affects other projects like Servo), but I'm willing to wait for the libc update to see if this passes CI. If it does, then it seems fine to me!"}}