14 Commits
Author SHA1 Message Date
Karoy Lorentey ee599def1a Update Xcode project 2025-06-04 12:50:47 -07:00
Karoy Lorentey 581fb9e875 Drop support for Swifts 5.7-5.9
As usual, we support just the three latest Swift releases: 5.10, 6.0 and 6.1.

Also delete obsolete C atomics. Dropping Swifts <5.9 allows us to make ATOMICS_NATIVE_BUILTINS the unconditional default behavior.
2025-06-03 19:23:53 -07:00
Karoy Lorentey 02d0d97948 [Xcode] Formally update .xcodeproj to Xcode 15
Also, remove an orphaned package manifest link.
2023-09-27 15:26:46 -07:00
Karoy Lorentey 084814f56f [Xcode] Move code sign config to shared xcconfig
This makes these settings automatically apply to the test target, too.
2023-09-27 15:01:41 -07:00
Karoy Lorentey 4a34c7a38f [Xcode] Add “iOS Developer” as code sign identity for iOS/watchOS/tvOS 2023-09-22 16:11:20 -07:00
Karoy Lorentey f10f0313d2 Add back-compat manifests to Xcode/Atomics.xcodeproj 2023-09-22 00:46:04 -07:00
Karoy Lorentey a9219a8df8 Avoid accidentally enabling C shims within the test target 2023-09-22 00:46:02 -07:00
Karoy Lorentey 8b703fe93c [native atomics] Fix alignment issues by reintroducing custom storage types
The SysV ABI defined uint64_t with 4 byte alignment on i386 — so we can’t just assume that the integer types will have the right alignment by default for atomics.

Emulate the original `_Atomic<Width>Storage` types in the C shims even in native atomics configuration, so that they can carry a custom `@_alignment` attribute.
2023-09-22 00:41:51 -07:00
Karoy Lorentey 9db6c56d8d Update CMake and Xcode build configs 2023-09-20 19:08:41 -07:00
Karoy Lorentey 9b97b055b6 Update Xcode project configuration
Switch from the classic `-parse-stdlib` option to the new `BuiltinModule` experimental feature.
2023-07-07 18:57:24 -07:00
Karoy Lorentey 55a158b620 [Xcode] Don’t use a bridging header in a framework target
Oops, that was not intended to work, and in fact it produces warnings in clients.

Instead, change _sa_retain_n and _sa_release_n to Swift calling convention and call them using _silgen_name trickery when in single-module configuration.

Resolves rdar://110860922
2023-06-20 10:52:41 -07:00
Karoy Lorentey a79829bbcf [Xcode] Set a code sign identity (so that we default to ad-hoc signatures) 2023-05-18 18:22:37 -07:00
Karoy Lorentey 581634cdaf Update Xcode project 2023-03-31 15:19:44 -07:00
Karoy Lorentey 5a9973dc1d Add an Xcode project exercising native builtins in a monomodule configuration
This is going to ship as is, with no promises about it remaining in future versions. It is going to be a load bearing component of the package, though — just not necessary a stable one.
2023-03-24 20:34:16 -07:00