]> git.lizzy.rs Git - rust.git/commitdiff
Use correct target CPU for iOS simulator.
authorEli Friedman <eli.friedman@gmail.com>
Tue, 11 Aug 2015 19:05:36 +0000 (12:05 -0700)
committerEli Friedman <eli.friedman@gmail.com>
Tue, 11 Aug 2015 19:05:36 +0000 (12:05 -0700)
This matches the behavior of clang.

src/librustc_back/target/apple_ios_base.rs

index 74c4183cfa3e63774da8cd15ed216cf83c1dce2e..77030f5d76827f929c5d8cd1ea22b533386fa20c 100644 (file)
@@ -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()
 }