{"action":"opened","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/49897","repository_url":"https://api.github.com/repos/rust-lang/rust","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/49897/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/49897/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/49897/events","html_url":"https://github.com/rust-lang/rust/issues/49897","id":313618591,"number":49897,"title":"(Re-)Introduce ARMv7+NEON Android and GNU/Linux targets","user":{"login":"hsivonen","id":478856,"avatar_url":"https://avatars1.githubusercontent.com/u/478856?v=4","gravatar_id":"","url":"https://api.github.com/users/hsivonen","html_url":"https://github.com/hsivonen","followers_url":"https://api.github.com/users/hsivonen/followers","following_url":"https://api.github.com/users/hsivonen/following{/other_user}","gists_url":"https://api.github.com/users/hsivonen/gists{/gist_id}","starred_url":"https://api.github.com/users/hsivonen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hsivonen/subscriptions","organizations_url":"https://api.github.com/users/hsivonen/orgs","repos_url":"https://api.github.com/users/hsivonen/repos","events_url":"https://api.github.com/users/hsivonen/events{/privacy}","received_events_url":"https://api.github.com/users/hsivonen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-12T08:06:25Z","updated_at":"2018-04-12T08:06:25Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Even though ARMv7 Android doesn't guarantee the presence of NEON, most devices have it and e.g. Firefox opts not to support ARMv7 devices that don't have it. (Notably the Tegra 2-based ones.)\r\n\r\nTo allow Rust code, including the standard library, to unconditionally use NEON in such a scenario, it would help a lot if upstream Rust supported an ARMv7+NEON Android target. (NEON support was [explicitly removed](https://github.com/rust-lang/rust/pull/38413) from `armv7-linux-androideabi`.\r\n\r\nIn order to test code on a system that has all the usual tooling, it's useful to have a corresponding GNU/Linux target, too. NEON was [explicitly removed](https://github.com/rust-lang/rust/pull/35814) from `armv7-unknown-linux-gnueabihf` and [also](https://github.com/rust-lang/rust/pull/48466) from `armv7-unknown-linux-musleabihf`.\r\n\r\nPlease add new `androideabi` and `gnueabihf` ARMv7 targets that have NEON enabled and a NEON-enabled standard library shipped via `rustup` so that `std::simd` ends up compiled with NEON enabled. (See the [issue about boolean reductions there](https://github.com/rust-lang-nursery/stdsimd/issues/362).)\r\n\r\nHow to name these is a total bikeshed, but as a starting point, I suggest `armv7neon-unknown-linux-gnueabihf` and `armv7neon-linux-androideabi`."}}
{"actor":{"display_login":"hsivonen"}}