Skip to content

Conversation

@lorentey
Copy link
Member

@lorentey lorentey commented Feb 7, 2025

No description provided.

glessard and others added 30 commits August 19, 2024 18:03
[concurrency] conform Deque.Iterator to unchecked-Sendable
Add more file in Sources/BitCollections/CMakeLists.txt
Lowercasing `CMAKE_SYSTEM_NAME` to find the name Swift uses for a platform
is not guaranteed to work.  Instead, use the `SWIFT_SYSTEM_NAME` variable,
which lets us override the name when building the Static SDK for Linux.

Fixes apple#420.
[Build] Use `SWIFT_SYSTEM_NAME` rather than just lowercasing.
(cherry picked from commit 7d18b37)

# Conflicts:
#	cmake/modules/SwiftSupport.cmake
(cherry picked from commit 0d4376d)

# Conflicts:
#	Sources/InternalCollectionsUtilities/Compatibility/UnsafeMutableBufferPointer+SE-0370.swift.gyb
#	Sources/InternalCollectionsUtilities/Compatibility/UnsafeMutablePointer+SE-0370.swift.gyb
#	Sources/InternalCollectionsUtilities/Compatibility/UnsafeRawPointer extensions.swift.gyb
#	Sources/InternalCollectionsUtilities/Compatibility/autogenerated/UnsafeMutableBufferPointer+SE-0370.swift
#	Sources/InternalCollectionsUtilities/Compatibility/autogenerated/UnsafeMutablePointer+SE-0370.swift
#	Sources/InternalCollectionsUtilities/Compatibility/autogenerated/UnsafeRawPointer extensions.swift
#	Sources/InternalCollectionsUtilities/Specialize.swift.gyb
#	Sources/InternalCollectionsUtilities/autogenerated/Specialize.swift
…formance

Optimize unspecialized `OrderedSet.init` and `OrderedSet.firstIndex(of:)`
Previously, libs were installed under `lib/swift/${os}`. They should be
installed in the default library directory for the relevant target
system.
In addition, swiftmodules were installed in the older layout format.
This changes to use the standard modern layout format for swiftmodules.
This also reverts 40adeb7, which seems to have been done in error.
[cmake] Install libraries in standard directories
[1.2][OrderedDictionary] fix a typo
lorentey and others added 25 commits May 15, 2025 14:15
Still override it to 4 in actual code with indent_size 2, in case we have stray tabs in there somewhere.
ManagedBuffer.capacity depends on malloc introspection (e.g.,
`malloc_size`), which is not available on this platform -- and is thus
marked as such.

Here, _HashNode.Storage is a ManagedBuffer. Thankfully, the uses of
.capacity are fairly limited: one for statistic purposes, which we just
completely omit on the platform, and the other, setting a minimum
capacity in the header by the buffer's .capacity; the alternative being
setting that minimum capacity directly.
CMP0091 was added in CMake 3.15. The minimum version is CMake 3.16 so
we don't need to do the check anymore.
Install swiftmodules with the full module triple expected by the
compiler instead of attempting to compute the correct architecture name
in CMake.
…xpectations

The existing expressions had the same effect, but they used different operators (`<=` instead of `<` and `>` instead of `>=`). The distinction is usually irrelevant, but there is no reason not to just follow what the stdlib is doing exactly.
Cherry pick recent PRs destined for 1.2
On recent enough stdlibs, we can now just print the index directly to get the same effect.
Drop support for the Swift 5.9.* toolchains
[Rope] Resolve deprecation warnings on `String.Index._description`
# Conflicts:
#	.github/workflows/pull_request.yml
#	.swiftci/5_10_ubuntu2204
#	.swiftci/5_7_ubuntu2204
#	.swiftci/5_8_ubuntu2204
#	.swiftci/5_9_ubuntu2204
#	.swiftci/nightly_6_0_macos
#	.swiftci/nightly_6_0_ubuntu2204
#	.swiftci/nightly_main_macos
#	.swiftci/nightly_main_ubuntu2204
@lorentey lorentey force-pushed the merge.release-1.2→main branch from 1934a59 to 0f73f0a Compare May 20, 2025 18:14
@lorentey lorentey added this to the 1.3.0 milestone May 20, 2025
@lorentey
Copy link
Member Author

@swift-ci test

@lorentey lorentey merged commit 6bcb663 into apple:main May 20, 2025
21 checks passed
@lorentey lorentey deleted the merge.release-1.2→main branch May 20, 2025 22:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.