about summary refs log tree commit diff
path: root/compiler/rustc_target/src/spec/apple_sdk_base.rs
AgeCommit message (Collapse)AuthorLines
2022-11-05Merge apple_base and apple_sdk_base into one moduleBlackHoleFox-81/+0
2022-10-23Fix x86_64-apple-watchos-sim target to use the correct target_abiBlackHoleFox-0/+1
2022-10-23Fix x86_64-apple-ios target to use the correct target_abiBlackHoleFox-6/+14
2022-08-16Revert "Revert "Allow dynamic linking for iOS/tvOS targets.""Tim van Elsloo-1/+0
This reverts commit 16e10bf81ee73f61cf813acef3d5dbbce4f66da2. # Conflicts: # compiler/rustc_target/src/spec/apple_sdk_base.rs
2022-08-09Add support for link-flavor rust-lld for macOSMary-42/+2
Also refactor iOS, watchOS and tvOS common code.
2022-08-03Add support for link-flavor rust-lld for iOS, tvOS and watchOSmary-1/+53
This adds support for rust-lld for Apple *OS targets. This was tested against targets "aarch64-apple-ios" and "aarch64-apple-ios-sim". For targets "armv7-apple-ios" and "armv7s-apple-ios", it doesn't link because of "symbols.o" not being generated with the correct CPU subtype (changes in the "object" crate needs to be done to support it).
2022-07-11rustc_target: Flip the default for `TargetOptions::executables` to trueVadim Petrochenkov-1/+0
Also change `executables` to true for linux-kernel and windows-uwp-gnu targets
2022-06-13Add Apple WatchOS compile targetsVladimir Michael Eatwell-2/+6
2022-04-03Replace every Vec in Target(Options) with it's Cow equivalentLoïc BRANSTETT-4/+4
2022-04-03Replace every `String` in Target(Options) with `Cow<'static, str>`Loïc BRANSTETT-10/+9
2021-12-17Rename `has_elf_tls` to `has_thread_local`Chris Denton-1/+1
2021-07-07Update targets to use target_abiJosh Triplett-0/+10
All eabi targets have target_abi = "eabi". All eabihf targets have target_abi = "eabihf". armv6_unknown_freebsd and armv7_unknown_freebsd have target_abi = "eabihf". All abi64 targets have target_abi = "abi64". All ilp32 targets have target_abi = "ilp32". All softfloat targets have target_abi = "softfloat". All *-uwp-windows-* targets have target_abi = "uwp". All spe targets have target_abi = "spe". All macabi targets have target_abi = "macabi". aarch64-apple-ios-sim has target_abi = "sim". x86_64-fortanix-unknown-sgx has target_abi = "fortanix". x86_64-unknown-linux-gnux32 has target_abi = "x32". Add FIXME entries for targets for which existing values need to change once cfg_target_abi becomes stable. (All of them are tier 3 targets.) Add a test for target_abi in `--print cfg`.
2021-06-02Turn off frame pointer elimination on all Apple platforms.Jeff Muizelaar-1/+0
This ends up disabling frame pointer elimination on aarch64_apple_darwin which matches what clang does by default along with the aarch64_apple_ios and x86_64_apple_darwin targets. Further, the Apple docs "Writing ARM64 Code for Apple Platforms" has a section called "Respect the Purpose of Specific CPU Registers" which specifically calls out the frame pointer register (x29): The frame pointer register (x29) must always address a valid frame record. Some functions — such as leaf functions or tail calls — may opt not to create an entry in this list As a result, stack traces are always meaningful, even without debug information. Other platforms are updated to not override the default.
2021-02-19added aarch64_apple_ios_sim as a rustc targetRicky (deg4uss3r)-1/+5
2020-11-26Add support for Arm64 Catalyst on ARM MacsBenedikt Terhechte-1/+3
2020-11-07rustc_target: Move `target_os` from `Target` to `TargetOptions`Vadim Petrochenkov-2/+2
2020-10-07Revert "Allow dynamic linking for iOS/tvOS targets."Francesca Lovebloom-0/+1
This reverts commit 56e115a2627ba8bdd2e66c759457af96b2b0286a.
2020-09-25Defer Apple SDKROOT detection to link time.Eric Huss-112/+4
2020-08-30mv compiler to compiler/mark-0/+151