Rollup merge of #22229 - vhbit:ios-default-cpus, r=alexcrichton

According to @dotdash it enables more aggressive optimizations from LLVM
This commit is contained in:
Manish Goregaokar 2015-02-15 18:22:32 +05:30
commit 8623fe70eb

View file

@ -73,8 +73,11 @@ fn pre_link_args(arch: Arch) -> Vec<String> {
fn target_cpu(arch: Arch) -> String { fn target_cpu(arch: Arch) -> String {
match arch { match arch {
Armv7 => "cortex-a8", // iOS7 is supported on iPhone 4 and higher
Armv7s => "cortex-a9",
Arm64 => "cyclone",
I386 => "generic",
X86_64 => "x86-64", X86_64 => "x86-64",
_ => "generic",
}.to_string() }.to_string()
} }