Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support same android ndk versions as rust-lang/rust and rust-lang/libc #195

Closed
1 of 6 tasks
gnzlbg opened this issue Apr 27, 2018 · 2 comments · Fixed by #629
Closed
1 of 6 tasks

Support same android ndk versions as rust-lang/rust and rust-lang/libc #195

gnzlbg opened this issue Apr 27, 2018 · 2 comments · Fixed by #629

Comments

@gnzlbg
Copy link
Contributor

gnzlbg commented Apr 27, 2018

cross currently targets android ndk version 21. The following versions are targeted by Rust and libc:

  • rust-lang/rust:

    • arm-android: NDK arm 15c
    • armv7-android: NDK arm 14
    • aarch64-android: NDK arm64 21
  • rust-lang/libc:

    • arm-android: NDK arm 15b
    • armv7-android: NDK arm 15b
    • aarch64-android: NDK arm64 15b

It would be nice if we could add an option to cross to let users specify the android NDK version. Or if we would at least support two different NDK versions natively (e.g. by providing docker images for both): latest (e.g. version 21), and rustc (same versions as rust-lang/rust).

This would be a pre-requisite for using cross as the testing framework for libc and other rust-lang /rust-lang-nursery components like stdsimd, jemallocator, etc.

@flxo
Copy link
Contributor

flxo commented Jul 27, 2021

@gnzlbg Where can I find the exact Android/NDK API levels used by Rust and libc?

@flxo
Copy link
Contributor

flxo commented Jul 27, 2021

I found in the libc CI a hint that master currently uses r21d and API level 28.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants