diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2015-02-15 18:22:32 +0530 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2015-02-15 18:22:32 +0530 |
| commit | 8623fe70ebf5f2b0dc5cc625b3f6f6cde06b46f2 (patch) | |
| tree | e9cde4605046b8e2ac5b6f4f1981bf08a006e57d /src | |
| parent | 132b56cefcbc47edb208aaf459417280514888df (diff) | |
| parent | 00a6ff9571bfe3157a4465a992d5d8e0e605a9a3 (diff) | |
| download | rust-8623fe70ebf5f2b0dc5cc625b3f6f6cde06b46f2.tar.gz rust-8623fe70ebf5f2b0dc5cc625b3f6f6cde06b46f2.zip | |
Rollup merge of #22229 - vhbit:ios-default-cpus, r=alexcrichton
According to @dotdash it enables more aggressive optimizations from LLVM
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustc_back/target/apple_ios_base.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/librustc_back/target/apple_ios_base.rs b/src/librustc_back/target/apple_ios_base.rs index 715bcc4f36d..904b337c03f 100644 --- a/src/librustc_back/target/apple_ios_base.rs +++ b/src/librustc_back/target/apple_ios_base.rs @@ -73,8 +73,11 @@ fn pre_link_args(arch: Arch) -> Vec<String> { fn target_cpu(arch: Arch) -> String { match arch { + Armv7 => "cortex-a8", // iOS7 is supported on iPhone 4 and higher + Armv7s => "cortex-a9", + Arm64 => "cyclone", + I386 => "generic", X86_64 => "x86-64", - _ => "generic", }.to_string() } |
