-
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
69: detect: Avoid dlsym on aarch64 android r=taiki-e a=taiki-e Follow-up #67 On Android, [64-bit architecture support is available on Android 5.0+ (API level 21+)](https://android-developers.googleblog.com/2014/10/whats-new-in-android-50-lollipop.html) and is newer than [Android 4.3 (API level 18) that getauxval was added](https://android.googlesource.com/platform/bionic/+/refs/heads/master/libc/include/sys/auxv.h#49), so we can safely assume getauxval is linked to the binary. Co-authored-by: Taiki Endo <[email protected]>
- Loading branch information
Showing
10 changed files
with
92 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
[build.env] | ||
passthrough = [ | ||
"CARGO_INCREMENTAL", | ||
"CARGO_NET_GIT_FETCH_WITH_CLI", | ||
"CARGO_NET_RETRY", | ||
"CARGO_PROFILE_RELEASE_CODEGEN_UNITS", | ||
"CARGO_PROFILE_RELEASE_LTO", | ||
"CARGO_TERM_COLOR", | ||
"CI", | ||
"RUST_BACKTRACE", | ||
"RUST_TEST_THREADS", | ||
"RUSTDOCFLAGS", | ||
"RUSTFLAGS", | ||
"RUSTUP_MAX_RETRIES", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
src/tests/gen/sys/aarch64_linux_android/arch_arm64_include_uapi_asm_hwcap.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
/* automatically generated by rust-bindgen 0.63.0 */ | ||
|
||
pub const HWCAP_ATOMICS: u32 = 256; | ||
pub const HWCAP_CPUID: u32 = 2048; |
3 changes: 3 additions & 0 deletions
3
src/tests/gen/sys/aarch64_linux_android/include_uapi_linux_auxvec.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
/* automatically generated by rust-bindgen 0.63.0 */ | ||
|
||
pub const AT_HWCAP: u32 = 16; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
// This file is @generated by portable-atomic-internal-codegen | ||
// (gen function at tools/codegen/src/ffi.rs). | ||
// It is not intended for manual editing. | ||
|
||
#![cfg_attr(rustfmt, rustfmt::skip)] | ||
pub(crate) mod include_uapi_linux_auxvec; | ||
pub(crate) mod arch_arm64_include_uapi_asm_hwcap; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters