rust/compiler/rustc_target/src
Stuart Cook 65a5cd467d
Rollup merge of #129367 - madsmtm:fix-apple-aarch64-deployment-targets, r=jieyouxu
Fix default/minimum deployment target for Aarch64 simulator targets

The minimum that `rustc` encoded did not match [the version in Clang](https://github.com/llvm/llvm-project/blob/llvmorg-18.1.8/llvm/lib/TargetParser/Triple.cpp#L1900-L1932), and that meant that that when linking, Clang ended up bumping the version. See https://github.com/rust-lang/rust/issues/129432 for more motivation behind this change.

Specifically, this PR sets the correct deployment target of the following targets:
- `aarch64-apple-ios-sim` from 10.0 to 14.0
- `aarch64-apple-tvos-sim` from 10.0 to 14.0
- `aarch64-apple-watchos-sim` from 5.0 to 7.0
- `aarch64-apple-ios-macabi` from 13.1 to 14.0

I have chosen not to document the `-sim` changes in the platform support docs, as it is fundamentally uninteresting; the normal targets (e.g. `aarch64-apple-ios`) still have the same deployment target, and that's what developers should actually target.

r? compiler

CC `@BlackHoleFox`
2024-09-12 20:37:15 +10:00
..
abi Remove needless returns detected by clippy in the compiler 2024-09-09 13:32:22 +02:00
asm Add warn(unreachable_pub) to rustc_target. 2024-09-03 08:49:54 +10:00
spec Rollup merge of #129367 - madsmtm:fix-apple-aarch64-deployment-targets, r=jieyouxu 2024-09-12 20:37:15 +10:00
json.rs Add metadata to targets 2024-03-10 20:46:08 +01:00
lib.rs update cfgs 2024-09-05 17:24:01 +01:00
target_features.rs rustc_target: Remove fpmr target feature 2024-08-27 11:11:47 +01:00
tests.rs Use serde_json for target spec json 2022-06-03 16:46:19 +00:00