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:
commit
8623fe70eb
1 changed files with 4 additions and 1 deletions
|
@ -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()
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue