Skip to content

Commit

Permalink
Use correct target CPU for iOS simulator.
Browse files Browse the repository at this point in the history
This matches the behavior of clang.
  • Loading branch information
eefriedman committed Aug 11, 2015
1 parent 5aca49c commit 155689b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/librustc_back/target/apple_ios_base.rs
Expand Up @@ -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()
}

Expand Down

0 comments on commit 155689b

Please sign in to comment.