-
Notifications
You must be signed in to change notification settings - Fork 359
Merge release/1.2 to main #450
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
The head ref may contain hidden characters: "merge.release-1.2\u2192main"
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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
[CMake] Handle riscv64
(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
Set up release/1.2 branch
…formance Optimize unspecialized `OrderedSet.init` and `OrderedSet.firstIndex(of:)`
fix amd64 support
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
Still override it to 4 in actual code with indent_size 2, in case we have stray tabs in there somewhere.
Add .editorconfig
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.
Co-authored-by: Karoy Lorentey <[email protected]>
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`
Prerelease updates
# 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
1934a59 to
0f73f0a
Compare
Member
Author
|
@swift-ci test |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.