Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit c094485

Browse files
author
Ricky (deg4uss3r)
committedFeb 10, 2021
Small updates to clean up for MR
1 parent 06ed763 commit c094485

File tree

4 files changed

+5
-679
lines changed

4 files changed

+5
-679
lines changed
 

‎_config.toml

-677
This file was deleted.

‎compiler/rustc_codegen_ssa/src/back/link.rs

-1
Original file line numberDiff line numberDiff line change
@@ -2185,7 +2185,6 @@ fn add_apple_sdk(cmd: &mut dyn Linker, sess: &Session, flavor: LinkerFlavor) {
21852185
let sdk_name = match (arch.as_str(), os.as_str()) {
21862186
("aarch64", "tvos") => "appletvos",
21872187
("x86_64", "tvos") => "appletvsimulator",
2188-
("arm", "ios") if llvm_target.contains("sim") => "iphonesimulator",
21892188
("arm", "ios") => "iphoneos",
21902189
("aarch64", "ios") if llvm_target.contains("macabi") => "macosx",
21912190
("aarch64", "ios") if llvm_target.contains("sim") => "iphonesimulator",

‎compiler/rustc_target/src/spec/apple_sdk_base.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ fn target_cpu(arch: Arch) -> String {
2323
X86_64 => "core2",
2424
X86_64_macabi => "core2",
2525
Arm64_macabi => "apple-a12",
26-
Arm64_sim => "apple-a7",
26+
Arm64_sim => "apple-a12",
2727
}
2828
.to_string()
2929
}

‎compiler/rustc_target/src/spec/mod.rs

+4
Original file line numberDiff line numberDiff line change
@@ -809,6 +809,10 @@ supported_targets! {
809809
("mipsel-sony-psp", mipsel_sony_psp),
810810
("mipsel-unknown-none", mipsel_unknown_none),
811811
("thumbv4t-none-eabi", thumbv4t_none_eabi),
812+
813+
("aarch64_be-unknown-linux-gnu", aarch64_be_unknown_linux_gnu),
814+
("aarch64-unknown-linux-gnu_ilp32", aarch64_unknown_linux_gnu_ilp32),
815+
("aarch64_be-unknown-linux-gnu_ilp32", aarch64_be_unknown_linux_gnu_ilp32),
812816
}
813817

814818
/// Everything `rustc` knows about how to compile for a specific target.

0 commit comments

Comments
 (0)
Please sign in to comment.