mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 16:54:01 +00:00
Use PIE on Android
This is OK to do given: - PIE is supported on Android starting with API 16. - The bots are running API 18. - API < 16 now has a 12.5% market share[0] as of 2015-04-29. Unfortunately, this breaks backtrace support. See #17520. Closes #17437. [0] https://developer.android.com/about/dashboards/index.html
This commit is contained in:
parent
7e2b09351d
commit
9f36ec0d42
@ -13,8 +13,6 @@ use target::Target;
|
||||
pub fn target() -> Target {
|
||||
let mut base = super::android_base::opts();
|
||||
base.features = "+v7".to_string();
|
||||
// FIXME #17437 (and #17448): Android doesn't support position dependent executables anymore.
|
||||
base.position_independent_executables = false;
|
||||
|
||||
Target {
|
||||
data_layout: "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-\
|
||||
|
@ -10,6 +10,7 @@
|
||||
|
||||
// no-pretty-expanded FIXME #15189
|
||||
// ignore-windows FIXME #13259
|
||||
// ignore-android FIXME #17520
|
||||
|
||||
use std::env;
|
||||
use std::process::{Command, Stdio};
|
||||
|
Loading…
Reference in New Issue
Block a user