rustc: Link to Android ABI requirements.
Hopefully these references will be stable and provide guidance when requirements change in the future.
This commit is contained in:
parent
e900f6c7fe
commit
9e01f76349
@ -10,6 +10,9 @@
|
||||
|
||||
use target::{Target, TargetOptions, TargetResult};
|
||||
|
||||
// See https://developer.android.com/ndk/guides/abis.html#arm64-v8a
|
||||
// for target ABI requirements.
|
||||
|
||||
pub fn target() -> TargetResult {
|
||||
let mut base = super::android_base::opts();
|
||||
base.max_atomic_width = Some(128);
|
||||
|
@ -10,6 +10,9 @@
|
||||
|
||||
use target::{Target, TargetOptions, TargetResult};
|
||||
|
||||
// See https://developer.android.com/ndk/guides/abis.html#v7a
|
||||
// for target ABI requirements.
|
||||
|
||||
pub fn target() -> TargetResult {
|
||||
let mut base = super::android_base::opts();
|
||||
base.features = "+v7,+thumb2,+vfp3,+d16,-neon".to_string();
|
||||
|
@ -10,6 +10,9 @@
|
||||
|
||||
use target::{Target, TargetResult};
|
||||
|
||||
// See https://developer.android.com/ndk/guides/abis.html#x86
|
||||
// for target ABI requirements.
|
||||
|
||||
pub fn target() -> TargetResult {
|
||||
let mut base = super::android_base::opts();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user