Use correct target CPU for iOS simulator.

This matches the behavior of clang.
This commit is contained in:
Eli Friedman 2015-08-11 12:05:36 -07:00
parent 5aca49c693
commit 155689b699

View file

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