rollup merge of #27672: eefriedman/ios-target-cpu

This matches the behavior of clang.

See also discussion on #27307.
This commit is contained in:
Alex Crichton 2015-08-11 22:11:43 -07:00
commit d4f2ef9b30

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()
} }