rust/compiler/rustc_target/src/spec
bors 821b2a8e39 Auto merge of #106925 - imWildCat:imWildCat/remove-hardcoded-ios-macbi-target-version, r=wesleywiser
Remove hardcoded iOS version of clang target for Mac Catalyst

## Background

From `clang` 13.x, `-target x86_64-apple-ios13.0-macabi` fails while linking:

```
  = note: clang: error: invalid version number in '-target x86_64-apple-ios13.0-macabi'
```

<details>
<summary>Verbose output</summary>

```
error: linking with `cc` failed: exit status: 1
  |
  = note: LC_ALL="C" PATH="[removed]" VSLANG="1033" ZERO_AR_DATE="1" "cc" "-Wl,-exported_symbols_list,/var/folders/p8/qpmzbsdn07g5gxykwfxxw7y40000gn/T/rustci8tkvp/list" "-target" "x86_64-apple-ios13.0-macabi" "/var/folders/p8/qpmzbsdn07g5gxykwfxxw7y40000gn/T/rustci8tkvp/symbols.o" "/path/to/my/[project]/[user]/target/x86_64-apple-ios-macabi/release/deps/[user].[user].a2ccc648-cgu.0.rcgu.o" "-L" "/path/to/my/[project]/[user]/target/x86_64-apple-ios-macabi/release/deps" "-L" "/path/to/my/[project]/[user]/target/release/deps" "-L" "/path/to/my/[project]/[user]/target/x86_64-apple-ios-macabi/release/build/blake3-74e6ba91506ce712/out" "-L" "/path/to/my/[project]/[user]/target/x86_64-apple-ios-macabi/release/build/blake3-74e6ba91506ce712/out" "-L" "/Users/[user]/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/x86_64-apple-ios-macabi/lib" "/var/folders/p8/qpmzbsdn07g5gxykwfxxw7y40000gn/T/rustci8tkvp/libblake3-343c1616c8f62c66.rlib" "/path/to/my/[project]/[user]/target/x86_64-apple-ios-macabi/release/deps/libcompiler_builtins-15d4f20b641cf9ef.rlib" "-framework" "Security" "-framework" "CoreFoundation" "-framework" "Security" "-liconv" "-lSystem" "-lobjc" "-framework" "Security" "-framework" "Foundation" "-lc" "-lm" "-isysroot" "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk" "-Wl,-syslibroot" "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk" "-L" "/Users/[user]/.rustup/toolchains/nightly-aarch64-apple-darwin/lib/rustlib/x86_64-apple-ios-macabi/lib" "-o" "/path/to/my/[project]/[user]/target/x86_64-apple-ios-macabi/release/deps/lib[user].dylib" "-Wl,-dead_strip" "-dynamiclib" "-Wl,-dylib" "-nodefaultlibs"
  = note: clang: error: invalid version number in '-target x86_64-apple-ios13.0-macabi'

warning: `[user]` (lib) generated 6 warnings
error: could not compile `[user]` due to previous error; 6 warnings emitted
```
</details>

### Minimal example

C code:

```c
#include <stdio.h>
void main() {
    int a = 1;
    int b = 2;
    int c = a + b;
    printf("%d", c);
}
```

`clang` command sample:

```
➜  202301 clang -target x86_64-apple-ios13.0-macabi main.c
clang: error: invalid version number in '-target x86_64-apple-ios13.0-macabi'
➜  202301 clang -target x86_64-apple-ios14.0-macabi main.c
main.c:2:1: warning: return type of 'main' is not 'int' [-Wmain-return-type]
void main() {
^
main.c:2:1: note: change return type to 'int'
void main() {
^~~~
int
1 warning generated.
➜  202301 clang -target x86_64-apple-ios15.0-macabi main.c
main.c:2:1: warning: return type of 'main' is not 'int' [-Wmain-return-type]
void main() {
^
main.c:2:1: note: change return type to 'int'
void main() {
^~~~
int
1 warning generated.
➜  202301 clang -target x86_64-apple-ios-macabi main.c
main.c:2:1: warning: return type of 'main' is not 'int' [-Wmain-return-type]
void main() {
^
main.c:2:1: note: change return type to 'int'
void main() {
^~~~
int
1 warning generated.

➜  202301 clang --version
Apple clang version 14.0.0 (clang-1400.0.29.202)
Target: arm64-apple-darwin22.2.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
```

This PR is a simplified version of #96392, inspired by https://github.com/rust-lang/cc-rs/pull/727
2023-02-02 05:26:09 +00:00
..
abi mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
apple Fix passing MACOSX_DEPLOYMENT_TARGET to the linker 2022-12-02 18:12:16 -06:00
tests Remove linuxkernel targets 2022-11-05 12:30:28 -04:00
aarch64_apple_darwin.rs Remove double spaces after dots in comments 2023-01-17 08:09:33 +00:00
aarch64_apple_ios.rs Cleanup Apple target specifications 2022-11-05 17:57:32 -05:00
aarch64_apple_ios_macabi.rs Remove hardcoded clang target: ios13 or ios14 for Mac Catalyst [fixed] 2023-01-26 23:29:08 -08:00
aarch64_apple_ios_sim.rs Cleanup Apple target specifications 2022-11-05 17:57:32 -05:00
aarch64_apple_tvos.rs Cleanup Apple target specifications 2022-11-05 17:57:32 -05:00
aarch64_apple_watchos_sim.rs Cleanup Apple target specifications 2022-11-05 17:57:32 -05:00
aarch64_be_unknown_linux_gnu.rs Replace every String in Target(Options) with Cow<'static, str> 2022-04-03 21:29:57 +02:00
aarch64_be_unknown_linux_gnu_ilp32.rs Replace every String in Target(Options) with Cow<'static, str> 2022-04-03 21:29:57 +02:00
aarch64_fuchsia.rs Accept old spelling of Fuchsia target triples 2023-01-09 12:18:12 -05:00
aarch64_kmc_solid_asp3.rs Replace every String in Target(Options) with Cow<'static, str> 2022-04-03 21:29:57 +02:00
aarch64_linux_android.rs Add ShadowCallStack Support 2022-07-20 13:43:34 +00:00
aarch64_nintendo_switch_freestanding.rs rustc_target: Refactor internal linker flavors 2022-10-06 13:41:12 +04:00
aarch64_nintendo_switch_freestanding_linker_script.ld Rename aarch64-nintendo-switch to aarch64-nintendo-switch-freestanding 2022-07-14 15:58:26 -04:00
aarch64_pc_windows_gnullvm.rs Support 128-bit atomics on all aarch64 targets 2022-08-16 19:52:19 +09:00
aarch64_pc_windows_msvc.rs Support 128-bit atomics on all aarch64 targets 2022-08-16 19:52:19 +09:00
aarch64_unknown_freebsd.rs Replace every String in Target(Options) with Cow<'static, str> 2022-04-03 21:29:57 +02:00
aarch64_unknown_fuchsia.rs Enable Shadow Call Stack for Fuchsia on AArch64 2023-01-06 17:42:20 +00:00
aarch64_unknown_hermit.rs Replace every String in Target(Options) with Cow<'static, str> 2022-04-03 21:29:57 +02:00
aarch64_unknown_linux_gnu.rs Replace every String in Target(Options) with Cow<'static, str> 2022-04-03 21:29:57 +02:00
aarch64_unknown_linux_gnu_ilp32.rs Replace every String in Target(Options) with Cow<'static, str> 2022-04-03 21:29:57 +02:00
aarch64_unknown_linux_musl.rs Replace every String in Target(Options) with Cow<'static, str> 2022-04-03 21:29:57 +02:00
aarch64_unknown_netbsd.rs Replace every String in Target(Options) with Cow<'static, str> 2022-04-03 21:29:57 +02:00
aarch64_unknown_none.rs Add LLVM KCFI support to the Rust compiler 2022-12-08 17:24:39 -08:00
aarch64_unknown_none_softfloat.rs rustc_target: Refactor internal linker flavors 2022-10-06 13:41:12 +04:00
aarch64_unknown_nto_qnx_710.rs Add no_std AArch64 support for the QNX Neutrino (nto) 7.1 RTOS 2022-11-11 10:44:48 +01:00
aarch64_unknown_openbsd.rs Replace every String in Target(Options) with Cow<'static, str> 2022-04-03 21:29:57 +02:00
aarch64_unknown_redox.rs Replace every String in Target(Options) with Cow<'static, str> 2022-04-03 21:29:57 +02:00
aarch64_unknown_uefi.rs rustc_target: Refactor internal linker flavors 2022-10-06 13:41:12 +04:00
aarch64_uwp_windows_msvc.rs Support 128-bit atomics on all aarch64 targets 2022-08-16 19:52:19 +09:00
aarch64_wrs_vxworks.rs Replace every String in Target(Options) with Cow<'static, str> 2022-04-03 21:29:57 +02:00
abi.rs Stabilize abi_efiapi feature 2023-01-11 20:42:13 -05:00
aix_base.rs Add powerpc64-ibm-aix as Tier-3 target 2022-11-17 16:36:54 +08:00
android_base.rs Update rustc's information on Android's sanitizers 2022-09-20 14:16:57 -07:00
apple_base.rs Fix uninlined_format_args for some compiler crates 2023-01-05 19:01:12 +01:00
arm64_32_apple_watchos.rs [watchos] Dynamic linking is not allowed for watchos targets 2022-11-13 13:57:31 +00:00
arm_linux_androideabi.rs Replace every String in Target(Options) with Cow<'static, str> 2022-04-03 21:29:57 +02:00
arm_unknown_linux_gnueabi.rs Replace every String in Target(Options) with Cow<'static, str> 2022-04-03 21:29:57 +02:00
arm_unknown_linux_gnueabihf.rs Replace every String in Target(Options) with Cow<'static, str> 2022-04-03 21:29:57 +02:00
arm_unknown_linux_musleabi.rs Replace every String in Target(Options) with Cow<'static, str> 2022-04-03 21:29:57 +02:00
arm_unknown_linux_musleabihf.rs Replace every String in Target(Options) with Cow<'static, str> 2022-04-03 21:29:57 +02:00
armeb_unknown_linux_gnueabi.rs Changes to rename target and update docs 2022-09-14 18:38:01 +01:00
armebv7r_none_eabi.rs rustc_target: Refactor internal linker flavors 2022-10-06 13:41:12 +04:00
armebv7r_none_eabihf.rs rustc_target: Refactor internal linker flavors 2022-10-06 13:41:12 +04:00
armv4t_none_eabi.rs rustc_target: Refactor internal linker flavors 2022-10-06 13:41:12 +04:00
armv4t_unknown_linux_gnueabi.rs Replace every String in Target(Options) with Cow<'static, str> 2022-04-03 21:29:57 +02:00
armv5te_none_eabi.rs remove DS stuff from docs + change to use thumb_base 2022-09-09 19:51:58 +01:00
armv5te_unknown_linux_gnueabi.rs Replace every String in Target(Options) with Cow<'static, str> 2022-04-03 21:29:57 +02:00
armv5te_unknown_linux_musleabi.rs Replace every String in Target(Options) with Cow<'static, str> 2022-04-03 21:29:57 +02:00
armv5te_unknown_linux_uclibceabi.rs Replace every String in Target(Options) with Cow<'static, str> 2022-04-03 21:29:57 +02:00
armv6_unknown_freebsd.rs Replace every String in Target(Options) with Cow<'static, str> 2022-04-03 21:29:57 +02:00
armv6_unknown_netbsd_eabihf.rs Replace every String in Target(Options) with Cow<'static, str> 2022-04-03 21:29:57 +02:00
armv6k_nintendo_3ds.rs rustc_target: Refactor internal linker flavors 2022-10-06 13:41:12 +04:00
armv7_apple_ios.rs Cleanup Apple target specifications 2022-11-05 17:57:32 -05:00
armv7_linux_androideabi.rs rustc_target: Refactor internal linker flavors 2022-10-06 13:41:12 +04:00
armv7_sony_vita_newlibeabihf.rs Added PlayStation Vita support 2022-12-14 19:39:16 +01:00
armv7_unknown_freebsd.rs Replace every String in Target(Options) with Cow<'static, str> 2022-04-03 21:29:57 +02:00
armv7_unknown_linux_gnueabi.rs Replace every String in Target(Options) with Cow<'static, str> 2022-04-03 21:29:57 +02:00
armv7_unknown_linux_gnueabihf.rs Replace every String in Target(Options) with Cow<'static, str> 2022-04-03 21:29:57 +02:00
armv7_unknown_linux_musleabi.rs Replace every String in Target(Options) with Cow<'static, str> 2022-04-03 21:29:57 +02:00
armv7_unknown_linux_musleabihf.rs Replace every String in Target(Options) with Cow<'static, str> 2022-04-03 21:29:57 +02:00
armv7_unknown_linux_uclibceabi.rs Replace every String in Target(Options) with Cow<'static, str> 2022-04-03 21:29:57 +02:00
armv7_unknown_linux_uclibceabihf.rs Replace every String in Target(Options) with Cow<'static, str> 2022-04-03 21:29:57 +02:00
armv7_unknown_netbsd_eabihf.rs Replace every String in Target(Options) with Cow<'static, str> 2022-04-03 21:29:57 +02:00
armv7_wrs_vxworks_eabihf.rs Replace every String in Target(Options) with Cow<'static, str> 2022-04-03 21:29:57 +02:00
armv7a_kmc_solid_asp3_eabi.rs Replace every String in Target(Options) with Cow<'static, str> 2022-04-03 21:29:57 +02:00
armv7a_kmc_solid_asp3_eabihf.rs Replace every String in Target(Options) with Cow<'static, str> 2022-04-03 21:29:57 +02:00
armv7a_none_eabi.rs rustc_target: Refactor internal linker flavors 2022-10-06 13:41:12 +04:00
armv7a_none_eabihf.rs rustc_target: Refactor internal linker flavors 2022-10-06 13:41:12 +04:00
armv7k_apple_watchos.rs [watchos] Dynamic linking is not allowed for watchos targets 2022-11-13 13:57:31 +00:00
armv7r_none_eabi.rs rustc_target: Refactor internal linker flavors 2022-10-06 13:41:12 +04:00
armv7r_none_eabihf.rs rustc_target: Refactor internal linker flavors 2022-10-06 13:41:12 +04:00
armv7s_apple_ios.rs Cleanup Apple target specifications 2022-11-05 17:57:32 -05:00
asmjs_unknown_emscripten.rs rustc_target: Refactor internal linker flavors slightly 2022-09-01 16:54:52 +03:00
avr_gnu_base.rs rustc_target: Refactor internal linker flavors 2022-10-06 13:41:12 +04:00
avr_unknown_gnu_atmega328.rs rustc_target: Add convenience functions for adding linker arguments 2022-06-25 21:55:56 +03:00
bpf_base.rs BPF: Disable atomic CAS 2023-01-14 22:12:11 +08:00
bpfeb_unknown_none.rs Replace every String in Target(Options) with Cow<'static, str> 2022-04-03 21:29:57 +02:00
bpfel_unknown_none.rs Replace every String in Target(Options) with Cow<'static, str> 2022-04-03 21:29:57 +02:00
crt_objects.rs rustc_target: Update some old naming around self contained linking 2022-08-12 18:47:13 +03:00
dragonfly_base.rs rustc_target: Flip the default for TargetOptions::executables to true 2022-07-11 23:23:51 +03:00
freebsd_base.rs rustc_target: Flip the default for TargetOptions::executables to true 2022-07-11 23:23:51 +03:00
fuchsia_base.rs rustc_target: Refactor internal linker flavors 2022-10-06 13:41:12 +04:00
haiku_base.rs rustc_target: Flip the default for TargetOptions::executables to true 2022-07-11 23:23:51 +03:00
hermit_base.rs rustc_target: Refactor internal linker flavors 2022-10-06 13:41:12 +04:00
hexagon_unknown_linux_musl.rs rustc_target: Refactor internal linker flavors 2022-10-06 13:41:12 +04:00
i386_apple_ios.rs Cleanup Apple target specifications 2022-11-05 17:57:32 -05:00
i386_unknown_linux_gnu.rs Replace every String in Target(Options) with Cow<'static, str> 2022-04-03 21:29:57 +02:00
i486_unknown_linux_gnu.rs Replace every String in Target(Options) with Cow<'static, str> 2022-04-03 21:29:57 +02:00
i586_pc_windows_msvc.rs Replace every String in Target(Options) with Cow<'static, str> 2022-04-03 21:29:57 +02:00
i586_unknown_linux_gnu.rs Replace every String in Target(Options) with Cow<'static, str> 2022-04-03 21:29:57 +02:00
i586_unknown_linux_musl.rs Replace every String in Target(Options) with Cow<'static, str> 2022-04-03 21:29:57 +02:00
i686_apple_darwin.rs Remove double spaces after dots in comments 2023-01-17 08:09:33 +00:00
i686_linux_android.rs Enable inline stack probes on X86 with LLVM 16 2022-09-29 19:49:23 -07:00
i686_pc_windows_gnu.rs rustc_target: Refactor internal linker flavors 2022-10-06 13:41:12 +04:00
i686_pc_windows_msvc.rs rustc_target: Refactor internal linker flavors 2022-10-06 13:41:12 +04:00
i686_unknown_freebsd.rs rustc_target: Refactor internal linker flavors 2022-10-06 13:41:12 +04:00
i686_unknown_haiku.rs rustc_target: Refactor internal linker flavors 2022-10-06 13:41:12 +04:00
i686_unknown_linux_gnu.rs rustc_target: Refactor internal linker flavors 2022-10-06 13:41:12 +04:00
i686_unknown_linux_musl.rs rustc_target: Refactor internal linker flavors 2022-10-06 13:41:12 +04:00
i686_unknown_netbsd.rs rustc_target: Refactor internal linker flavors 2022-10-06 13:41:12 +04:00
i686_unknown_openbsd.rs rustc_target: Refactor internal linker flavors 2022-10-06 13:41:12 +04:00
i686_unknown_uefi.rs Replace every String in Target(Options) with Cow<'static, str> 2022-04-03 21:29:57 +02:00
i686_uwp_windows_gnu.rs rustc_target: Refactor internal linker flavors 2022-10-06 13:41:12 +04:00
i686_uwp_windows_msvc.rs Replace every String in Target(Options) with Cow<'static, str> 2022-04-03 21:29:57 +02:00
i686_wrs_vxworks.rs rustc_target: Refactor internal linker flavors 2022-10-06 13:41:12 +04:00
illumos_base.rs Remove double spaces after dots in comments 2023-01-17 08:09:33 +00:00
l4re_base.rs rustc_target: Refactor internal linker flavors 2022-10-06 13:41:12 +04:00
linux_base.rs session: stabilize split debuginfo on linux 2022-08-18 15:19:40 +01:00
linux_gnu_base.rs Replace every String in Target(Options) with Cow<'static, str> 2022-04-03 21:29:57 +02:00
linux_musl_base.rs rustc_target: Update some old naming around self contained linking 2022-08-12 18:47:13 +03:00
linux_uclibc_base.rs Replace every String in Target(Options) with Cow<'static, str> 2022-04-03 21:29:57 +02:00
m68k_unknown_linux_gnu.rs Replace every String in Target(Options) with Cow<'static, str> 2022-04-03 21:29:57 +02:00
mips64_openwrt_linux_musl.rs Replace every String in Target(Options) with Cow<'static, str> 2022-04-03 21:29:57 +02:00
mips64_unknown_linux_gnuabi64.rs Replace every String in Target(Options) with Cow<'static, str> 2022-04-03 21:29:57 +02:00
mips64_unknown_linux_muslabi64.rs Replace every String in Target(Options) with Cow<'static, str> 2022-04-03 21:29:57 +02:00
mips64el_unknown_linux_gnuabi64.rs Replace every String in Target(Options) with Cow<'static, str> 2022-04-03 21:29:57 +02:00
mips64el_unknown_linux_muslabi64.rs Replace every String in Target(Options) with Cow<'static, str> 2022-04-03 21:29:57 +02:00
mips_unknown_linux_gnu.rs Replace every String in Target(Options) with Cow<'static, str> 2022-04-03 21:29:57 +02:00
mips_unknown_linux_musl.rs Replace every String in Target(Options) with Cow<'static, str> 2022-04-03 21:29:57 +02:00
mips_unknown_linux_uclibc.rs Replace every String in Target(Options) with Cow<'static, str> 2022-04-03 21:29:57 +02:00
mipsel_sony_psp.rs rustc_target: Refactor internal linker flavors 2022-10-06 13:41:12 +04:00
mipsel_sony_psp_linker_script.ld Relax mipsel-sony-psp's linker script 2022-06-07 10:24:09 -04:00
mipsel_sony_psx.rs Add Sony PlayStation 1 tier 3 target 2022-10-10 12:07:22 -04:00
mipsel_unknown_linux_gnu.rs Replace every String in Target(Options) with Cow<'static, str> 2022-04-03 21:29:57 +02:00
mipsel_unknown_linux_musl.rs Replace every String in Target(Options) with Cow<'static, str> 2022-04-03 21:29:57 +02:00
mipsel_unknown_linux_uclibc.rs Replace every String in Target(Options) with Cow<'static, str> 2022-04-03 21:29:57 +02:00
mipsel_unknown_none.rs rustc_target: Refactor internal linker flavors 2022-10-06 13:41:12 +04:00
mipsisa32r6_unknown_linux_gnu.rs Replace every String in Target(Options) with Cow<'static, str> 2022-04-03 21:29:57 +02:00
mipsisa32r6el_unknown_linux_gnu.rs Replace every String in Target(Options) with Cow<'static, str> 2022-04-03 21:29:57 +02:00
mipsisa64r6_unknown_linux_gnuabi64.rs Replace every String in Target(Options) with Cow<'static, str> 2022-04-03 21:29:57 +02:00
mipsisa64r6el_unknown_linux_gnuabi64.rs Replace every String in Target(Options) with Cow<'static, str> 2022-04-03 21:29:57 +02:00
mod.rs Remove double spaces after dots in comments 2023-01-17 08:09:33 +00:00
msp430_none_elf.rs rustc_target: Refactor internal linker flavors 2022-10-06 13:41:12 +04:00
msvc_base.rs rustc_target: Refactor internal linker flavors 2022-10-06 13:41:12 +04:00
netbsd_base.rs rustc_target: Flip the default for TargetOptions::executables to true 2022-07-11 23:23:51 +03:00
nto_qnx_base.rs Add no_std AArch64 support for the QNX Neutrino (nto) 7.1 RTOS 2022-11-11 10:44:48 +01:00
nvptx64_nvidia_cuda.rs rustc_target: Refactor internal linker flavors 2022-10-06 13:41:12 +04:00
openbsd_base.rs rustc_target: Flip the default for TargetOptions::executables to true 2022-07-11 23:23:51 +03:00
powerpc64_ibm_aix.rs more clippy::complexity fixes 2022-12-15 00:09:10 +01:00
powerpc64_unknown_freebsd.rs rustc_target: Refactor internal linker flavors 2022-10-06 13:41:12 +04:00
powerpc64_unknown_linux_gnu.rs rustc_target: Refactor internal linker flavors 2022-10-06 13:41:12 +04:00
powerpc64_unknown_linux_musl.rs rustc_target: Refactor internal linker flavors 2022-10-06 13:41:12 +04:00
powerpc64_unknown_openbsd.rs rustc_target: Refactor internal linker flavors 2022-10-06 13:41:12 +04:00
powerpc64_wrs_vxworks.rs rustc_target: Refactor internal linker flavors 2022-10-06 13:41:12 +04:00
powerpc64le_unknown_freebsd.rs rustc_target: Refactor internal linker flavors 2022-10-06 13:41:12 +04:00
powerpc64le_unknown_linux_gnu.rs rustc_target: Refactor internal linker flavors 2022-10-06 13:41:12 +04:00
powerpc64le_unknown_linux_musl.rs rustc_target: Refactor internal linker flavors 2022-10-06 13:41:12 +04:00
powerpc_unknown_freebsd.rs rustc_target: Refactor internal linker flavors 2022-10-06 13:41:12 +04:00
powerpc_unknown_linux_gnu.rs rustc_target: Refactor internal linker flavors 2022-10-06 13:41:12 +04:00
powerpc_unknown_linux_gnuspe.rs rustc_target: Refactor internal linker flavors 2022-10-06 13:41:12 +04:00
powerpc_unknown_linux_musl.rs rustc_target: Refactor internal linker flavors 2022-10-06 13:41:12 +04:00
powerpc_unknown_netbsd.rs rustc_target: Refactor internal linker flavors 2022-10-06 13:41:12 +04:00
powerpc_unknown_openbsd.rs Enable inline stack probes on PowerPC and SystemZ 2022-09-26 13:40:24 -07:00
powerpc_wrs_vxworks.rs rustc_target: Refactor internal linker flavors 2022-10-06 13:41:12 +04:00
powerpc_wrs_vxworks_spe.rs rustc_target: Refactor internal linker flavors 2022-10-06 13:41:12 +04:00
redox_base.rs rustc_target: Flip the default for TargetOptions::executables to true 2022-07-11 23:23:51 +03:00
riscv32gc_unknown_linux_gnu.rs Replace every String in Target(Options) with Cow<'static, str> 2022-04-03 21:29:57 +02:00
riscv32gc_unknown_linux_musl.rs Replace every String in Target(Options) with Cow<'static, str> 2022-04-03 21:29:57 +02:00
riscv32i_unknown_none_elf.rs rustc_target: Refactor internal linker flavors 2022-10-06 13:41:12 +04:00
riscv32im_unknown_none_elf.rs rustc_target: Refactor internal linker flavors 2022-10-06 13:41:12 +04:00
riscv32imac_unknown_none_elf.rs rustc_target: Refactor internal linker flavors 2022-10-06 13:41:12 +04:00
riscv32imac_unknown_xous_elf.rs rustc_target: Refactor internal linker flavors 2022-10-06 13:41:12 +04:00
riscv32imc_esp_espidf.rs rustc_target: Refactor internal linker flavors 2022-10-06 13:41:12 +04:00
riscv32imc_unknown_none_elf.rs rustc_target: Refactor internal linker flavors 2022-10-06 13:41:12 +04:00
riscv64gc_unknown_freebsd.rs LLVM 16: Update RISCV data layout 2022-11-06 19:03:22 +00:00
riscv64gc_unknown_linux_gnu.rs LLVM 16: Update RISCV data layout 2022-11-06 19:03:22 +00:00
riscv64gc_unknown_linux_musl.rs LLVM 16: Update RISCV data layout 2022-11-06 19:03:22 +00:00
riscv64gc_unknown_none_elf.rs LLVM 16: Update RISCV data layout 2022-11-06 19:03:22 +00:00
riscv64gc_unknown_openbsd.rs LLVM 16: Update RISCV data layout 2022-11-06 19:03:22 +00:00
riscv64imac_unknown_none_elf.rs LLVM 16: Update RISCV data layout 2022-11-06 19:03:22 +00:00
s390x_unknown_linux_gnu.rs Enable sanitizers for s390x-linux 2023-01-20 18:34:24 +01:00
s390x_unknown_linux_musl.rs Enable sanitizers for s390x-linux 2023-01-20 18:34:24 +01:00
solaris_base.rs rustc_target: Refactor internal linker flavors 2022-10-06 13:41:12 +04:00
solid_base.rs Fix uninlined_format_args for some compiler crates 2023-01-05 19:01:12 +01:00
sparc64_unknown_linux_gnu.rs Replace every String in Target(Options) with Cow<'static, str> 2022-04-03 21:29:57 +02:00
sparc64_unknown_netbsd.rs rustc_target: Refactor internal linker flavors 2022-10-06 13:41:12 +04:00
sparc64_unknown_openbsd.rs rustc_target: Refactor internal linker flavors 2022-10-06 13:41:12 +04:00
sparc_unknown_linux_gnu.rs rustc_target: Refactor internal linker flavors 2022-10-06 13:41:12 +04:00
sparcv9_sun_solaris.rs Remove double spaces after dots in comments 2023-01-17 08:09:33 +00:00
thumb_base.rs rustc_target: Refactor internal linker flavors 2022-10-06 13:41:12 +04:00
thumbv4t_none_eabi.rs rustc_target: Refactor internal linker flavors 2022-10-06 13:41:12 +04:00
thumbv5te_none_eabi.rs Add {thumb,arm}v5te-none-eabi targets 2022-09-02 14:16:02 +01:00
thumbv6m_none_eabi.rs Pass +atomics-32 feature for thumbv6m target 2022-08-09 12:39:59 +02:00
thumbv7a_pc_windows_msvc.rs rustc_target: Refactor internal linker flavors 2022-10-06 13:41:12 +04:00
thumbv7a_uwp_windows_msvc.rs Replace every String in Target(Options) with Cow<'static, str> 2022-04-03 21:29:57 +02:00
thumbv7em_none_eabi.rs Replace every String in Target(Options) with Cow<'static, str> 2022-04-03 21:29:57 +02:00
thumbv7em_none_eabihf.rs Replace every String in Target(Options) with Cow<'static, str> 2022-04-03 21:29:57 +02:00
thumbv7m_none_eabi.rs Replace every String in Target(Options) with Cow<'static, str> 2022-04-03 21:29:57 +02:00
thumbv7neon_linux_androideabi.rs rustc_target: Refactor internal linker flavors 2022-10-06 13:41:12 +04:00
thumbv7neon_unknown_linux_gnueabihf.rs Replace every String in Target(Options) with Cow<'static, str> 2022-04-03 21:29:57 +02:00
thumbv7neon_unknown_linux_musleabihf.rs Replace every String in Target(Options) with Cow<'static, str> 2022-04-03 21:29:57 +02:00
thumbv8m_base_none_eabi.rs Replace every String in Target(Options) with Cow<'static, str> 2022-04-03 21:29:57 +02:00
thumbv8m_main_none_eabi.rs Replace every String in Target(Options) with Cow<'static, str> 2022-04-03 21:29:57 +02:00
thumbv8m_main_none_eabihf.rs Replace every String in Target(Options) with Cow<'static, str> 2022-04-03 21:29:57 +02:00
uefi_msvc_base.rs rustc_target: Refactor internal linker flavors 2022-10-06 13:41:12 +04:00
vxworks_base.rs rustc_target: Flip the default for TargetOptions::executables to true 2022-07-11 23:23:51 +03:00
wasm32_unknown_emscripten.rs rustc_target: Refactor internal linker flavors slightly 2022-09-01 16:54:52 +03:00
wasm32_unknown_unknown.rs Stop passing -export-dynamic to wasm-ld. 2022-12-06 16:50:29 -08:00
wasm32_wasi.rs Mangle "main" as "__main_void" on wasm32-wasi 2022-12-08 13:15:40 -08:00
wasm64_unknown_unknown.rs rustc_target: Refactor internal linker flavors 2022-10-06 13:41:12 +04:00
wasm_base.rs Issue error when -C link-self-contained option is used on unsupported platforms 2022-11-14 22:21:24 -06:00
windows_gnu_base.rs rustc_target: Refactor internal linker flavors 2022-10-06 13:41:12 +04:00
windows_gnullvm_base.rs fix debuginfo for windows_gnullvm_base.rs 2022-11-06 17:29:14 -08:00
windows_msvc_base.rs Set DebuginfoKind::Pdb in msvc_base 2022-08-27 11:44:35 -04:00
windows_uwp_gnu_base.rs rustc_target: Refactor internal linker flavors 2022-10-06 13:41:12 +04:00
windows_uwp_msvc_base.rs rustc_target: Refactor internal linker flavors 2022-10-06 13:41:12 +04:00
x86_64_apple_darwin.rs Remove double spaces after dots in comments 2023-01-17 08:09:33 +00:00
x86_64_apple_ios.rs Cleanup Apple target specifications 2022-11-05 17:57:32 -05:00
x86_64_apple_ios_macabi.rs Remove hardcoded clang target: ios13 or ios14 for Mac Catalyst [fixed] 2023-01-26 23:29:08 -08:00
x86_64_apple_tvos.rs Cleanup Apple target specifications 2022-11-05 17:57:32 -05:00
x86_64_apple_watchos_sim.rs Cleanup Apple target specifications 2022-11-05 17:57:32 -05:00
x86_64_fortanix_unknown_sgx.rs rustc_target: Refactor internal linker flavors 2022-10-06 13:41:12 +04:00
x86_64_fuchsia.rs Accept old spelling of Fuchsia target triples 2023-01-09 12:18:12 -05:00
x86_64_linux_android.rs rustc_target: Refactor internal linker flavors 2022-10-06 13:41:12 +04:00
x86_64_pc_nto_qnx710.rs Add no_std AArch64 support for the QNX Neutrino (nto) 7.1 RTOS 2022-11-11 10:44:48 +01:00
x86_64_pc_solaris.rs rustc_target: Refactor internal linker flavors 2022-10-06 13:41:12 +04:00
x86_64_pc_windows_gnu.rs rustc_target: Refactor internal linker flavors 2022-10-06 13:41:12 +04:00
x86_64_pc_windows_gnullvm.rs rustc_target: Refactor internal linker flavors 2022-10-06 13:41:12 +04:00
x86_64_pc_windows_msvc.rs Replace every String in Target(Options) with Cow<'static, str> 2022-04-03 21:29:57 +02:00
x86_64_sun_solaris.rs rustc_target: Refactor internal linker flavors 2022-10-06 13:41:12 +04:00
x86_64_unknown_dragonfly.rs rustc_target: Refactor internal linker flavors 2022-10-06 13:41:12 +04:00
x86_64_unknown_freebsd.rs rustc_target: Refactor internal linker flavors 2022-10-06 13:41:12 +04:00
x86_64_unknown_fuchsia.rs Add vendor to Fuchsia's target triple 2023-01-05 09:34:22 -05:00
x86_64_unknown_haiku.rs rustc_target: Refactor internal linker flavors 2022-10-06 13:41:12 +04:00
x86_64_unknown_hermit.rs Enable inline stack probes on X86 with LLVM 16 2022-09-29 19:49:23 -07:00
x86_64_unknown_illumos.rs rustc_target: Refactor internal linker flavors 2022-10-06 13:41:12 +04:00
x86_64_unknown_l4re_uclibc.rs rustc_target: Do not specify some target options redundantly 2022-08-27 15:30:05 +03:00
x86_64_unknown_linux_gnu.rs rustc_target: Refactor internal linker flavors 2022-10-06 13:41:12 +04:00
x86_64_unknown_linux_gnux32.rs rustc_target: Refactor internal linker flavors 2022-10-06 13:41:12 +04:00
x86_64_unknown_linux_musl.rs rustc_target: Refactor internal linker flavors 2022-10-06 13:41:12 +04:00
x86_64_unknown_netbsd.rs rustc_target: Refactor internal linker flavors 2022-10-06 13:41:12 +04:00
x86_64_unknown_none.rs Add LLVM KCFI support to the Rust compiler 2022-12-08 17:24:39 -08:00
x86_64_unknown_openbsd.rs rustc_target: Refactor internal linker flavors 2022-10-06 13:41:12 +04:00
x86_64_unknown_redox.rs rustc_target: Refactor internal linker flavors 2022-10-06 13:41:12 +04:00
x86_64_unknown_uefi.rs Replace every String in Target(Options) with Cow<'static, str> 2022-04-03 21:29:57 +02:00
x86_64_uwp_windows_gnu.rs rustc_target: Refactor internal linker flavors 2022-10-06 13:41:12 +04:00
x86_64_uwp_windows_msvc.rs Replace every String in Target(Options) with Cow<'static, str> 2022-04-03 21:29:57 +02:00
x86_64_wrs_vxworks.rs rustc_target: Refactor internal linker flavors 2022-10-06 13:41:12 +04:00