-
Notifications
You must be signed in to change notification settings - Fork 1.4k
adopt swift-collections #3681
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
adopt swift-collections #3681
Conversation
7470dbe
to
e6aaf46
Compare
@swift-ci please smoke test |
e6aaf46
to
80da18d
Compare
@swift-ci please smoke test |
80da18d
to
1f1b1e6
Compare
@swift-ci please smoke test |
1f1b1e6
to
c3fb4e8
Compare
@swift-ci please smoke test |
Package.swift
Outdated
name: "Basics", | ||
dependencies: ["SwiftToolsSupport-auto"]), | ||
dependencies: [ | ||
.product(name: "OrderedCollections", package: "swift-collections"), | ||
"SwiftToolsSupport-auto" | ||
]), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for this comment after the PR is already labeled "ready".
I see that each file that uses OrderedCollections
imports it directly, and no file in Basics
uses OrderedCollections
. Is Basics
's declared dependency on OrderedCollections
here a leftover from one of the previous versions of this PR when Basics
re-exported it, or does this dependency now have some other use?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for bringing it up @WowbaggersLiquidLunch, I will look into simplifying this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IIUC this means that the dependency declaration would need to be duped onto each individual target that imports OrderedCollections
. (Which isn't necessarily a bad thing...)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
right it would be a bit more painful, while this makes it available everywhere. tradeoffs..
c3fb4e8
to
354bb99
Compare
this is now rebased on top of #3881 so once that is merged we can take this too |
354bb99
to
ae005fb
Compare
@swift-ci smoke test |
this is now rebased on top of the swift-system changes and ready to go |
@swift-ci smoke test |
CI failing on what seems to be an unrelated LLVM crash |
@swift-ci smoke test |
1 similar comment
@swift-ci smoke test |
@swift-ci smoke test |
@swift-ci please smoke test |
9f809ad
to
ec0b977
Compare
@swift-ci please smoke test |
motivation: replace TSC versions of ordered collections with the new ones from swift-collections changes: * pull in swift-collections as a dependency * update bootstrap script * adapt call-sites to swift-collections
ec0b977
to
50bfcbb
Compare
@swift-ci please smoke test |
test toolchain build: swiftlang/swift#40896 |
@swift-ci please smoke test |
@swift-ci please smoke test |
@compnerd FYI we are planning to merge this, which may effect the Windows build |
I think that this is covered with the current state of the build: |
motivation: replace TSC versions of ordered collections with the new ones from swift-collections
changes: