From 155689b699e50ab29675db3b006e305dfc06bd39 Mon Sep 17 00:00:00 2001 From: Eli Friedman Date: Tue, 11 Aug 2015 12:05:36 -0700 Subject: [PATCH] Use correct target CPU for iOS simulator. This matches the behavior of clang. --- src/librustc_back/target/apple_ios_base.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/librustc_back/target/apple_ios_base.rs b/src/librustc_back/target/apple_ios_base.rs index 74c4183cfa3e6..77030f5d76827 100644 --- a/src/librustc_back/target/apple_ios_base.rs +++ b/src/librustc_back/target/apple_ios_base.rs @@ -77,8 +77,8 @@ fn target_cpu(arch: Arch) -> String { Armv7 => "cortex-a8", // iOS7 is supported on iPhone 4 and higher Armv7s => "cortex-a9", Arm64 => "cyclone", - I386 => "generic", - X86_64 => "x86-64", + I386 => "yonah", + X86_64 => "core2", }.to_string() }