Skip to content
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

Sendable miscellany: effects, publishers, etc. #3317

Merged
merged 38 commits into from
Aug 29, 2024
Merged
Changes from 1 commit
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
709eaf8
`@preconcurrency @MainActor` isolation of `Store`
stephencelis Aug 10, 2024
9add3a1
Remove unneeded `@MainActor`s
stephencelis Aug 10, 2024
1b053fe
Remove thread checking code
stephencelis Aug 10, 2024
fcd9c8c
Remove unneeded `@MainActor`s
stephencelis Aug 10, 2024
d3440f3
Swift 5.10 compatibility fixes
stephencelis Aug 10, 2024
67772a2
wip
stephencelis Aug 10, 2024
1ab386d
More 5.10 fixes
stephencelis Aug 10, 2024
1e23bca
wip
mbrandonw Aug 10, 2024
fe7bd98
fixes
mbrandonw Aug 10, 2024
9972512
wip
stephencelis Aug 11, 2024
f2d710b
wip
stephencelis Aug 11, 2024
2033a26
up the timeout
mbrandonw Aug 11, 2024
24312e5
wip
stephencelis Aug 12, 2024
dab61ef
Merge remote-tracking branch 'origin/main' into main-actor-preconcurr…
stephencelis Aug 12, 2024
73e12ca
Merge remote-tracking branch 'origin/main' into main-actor-preconcurr…
stephencelis Aug 13, 2024
02622e5
Fixes
stephencelis Aug 13, 2024
a9e8ebd
wip
stephencelis Aug 12, 2024
1cad10b
wip
stephencelis Aug 12, 2024
cd3a014
wip
stephencelis Aug 13, 2024
b25b608
wip
stephencelis Aug 27, 2024
f487678
Merge remote-tracking branch 'origin/main' into key-path-sendability
stephencelis Aug 27, 2024
273fd57
wip
stephencelis Aug 27, 2024
aefc73a
Merge branch 'main' into key-path-sendability
stephencelis Aug 28, 2024
7fd9436
Fix binding action sendability
stephencelis Aug 28, 2024
a4a00e4
Address more binding action sendability
stephencelis Aug 28, 2024
b85004b
more bindable action sendability
stephencelis Aug 28, 2024
c07b02d
more bindable action warnings
stephencelis Aug 28, 2024
de6b901
fix
stephencelis Aug 28, 2024
a25b469
Make `Effect.map` sendable
stephencelis Aug 28, 2024
5268ca1
Make `Effect.actions` sendable
stephencelis Aug 28, 2024
bafeab2
Make `AnyPublisher.create` sendable
stephencelis Aug 28, 2024
6234b4f
Make `_SynthesizedConformance` sendable
stephencelis Aug 28, 2024
ec4183f
Avoid non-sendable captures of `self` in reducers
stephencelis Aug 28, 2024
7eae6be
Make `ViewStore.yield` sendable
stephencelis Aug 28, 2024
a25ed28
Address internal sendability warning
stephencelis Aug 28, 2024
2faac88
fix
stephencelis Aug 28, 2024
1606c50
Another small warning
stephencelis Aug 28, 2024
6e5fa33
Merge branch 'main' into sendable-misc
stephencelis Aug 29, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
wip
  • Loading branch information
stephencelis committed Aug 13, 2024
commit cd3a014eaccfe6d6cde0ac3c86aa3a70a6271677
16 changes: 9 additions & 7 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,12 @@ let package = Package(
]
)

for target in package.targets where target.type != .system {
target.swiftSettings = target.swiftSettings ?? []
target.swiftSettings?.append(contentsOf: [
.enableExperimentalFeature("StrictConcurrency"),
.enableUpcomingFeature("InferSendableFromCaptures"),
])
}
#if compiler(>=6)
for target in package.targets where target.type != .system {
target.swiftSettings = target.swiftSettings ?? []
target.swiftSettings?.append(contentsOf: [
.enableExperimentalFeature("StrictConcurrency"),
.enableUpcomingFeature("InferSendableFromCaptures"),
])
}
#endif