Skip to content

Commit 155689b

Browse files
committed
Use correct target CPU for iOS simulator.
This matches the behavior of clang.
1 parent 5aca49c commit 155689b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/librustc_back/target/apple_ios_base.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ fn target_cpu(arch: Arch) -> String {
7777
Armv7 => "cortex-a8", // iOS7 is supported on iPhone 4 and higher
7878
Armv7s => "cortex-a9",
7979
Arm64 => "cyclone",
80-
I386 => "generic",
81-
X86_64 => "x86-64",
80+
I386 => "yonah",
81+
X86_64 => "core2",
8282
}.to_string()
8383
}
8484

0 commit comments

Comments
 (0)