diff options
| author | Eli Friedman <eli.friedman@gmail.com> | 2015-08-11 12:05:36 -0700 |
|---|---|---|
| committer | Eli Friedman <eli.friedman@gmail.com> | 2015-08-11 12:05:36 -0700 |
| commit | 155689b699e50ab29675db3b006e305dfc06bd39 (patch) | |
| tree | ba0c47fa39948b7749c51d0dcef15a7bd3e4ebc4 | |
| parent | 5aca49c693c9be3064d9e6db9473b1fa76834b79 (diff) | |
| download | rust-155689b699e50ab29675db3b006e305dfc06bd39.tar.gz rust-155689b699e50ab29675db3b006e305dfc06bd39.zip | |
Use correct target CPU for iOS simulator.
This matches the behavior of clang.
| -rw-r--r-- | src/librustc_back/target/apple_ios_base.rs | 4 |
1 files 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 74c4183cfa3..77030f5d768 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() } |
