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

Add missing Sendable conformances to DispatchPredicate, DispatchQoS, and DispatchTimeoutResult. #859

Merged
merged 2 commits into from
Feb 26, 2025

Conversation

hborla
Copy link
Member

@hborla hborla commented Feb 24, 2025

These types are all trivially Sendable.

The lack of conformance has caused source compatibility failures in cross platform libraries, as shown in swiftlang/swift-source-compat-suite#964 (comment).

@hborla
Copy link
Member Author

hborla commented Feb 24, 2025

@swift-ci please test

1 similar comment
@hborla
Copy link
Member Author

hborla commented Feb 24, 2025

@swift-ci please test

@hborla hborla force-pushed the dispatchqos-sendable branch 2 times, most recently from 8f3874c to a2ddc62 Compare February 24, 2025 23:29
@hborla hborla force-pushed the dispatchqos-sendable branch from a2ddc62 to e36dbda Compare February 24, 2025 23:30
@hborla
Copy link
Member Author

hborla commented Feb 24, 2025

@swift-ci please test

@hborla
Copy link
Member Author

hborla commented Feb 25, 2025

@swift-ci please test Windows

@hborla
Copy link
Member Author

hborla commented Feb 25, 2025

Looks like the Windows failure is in an unrelated test in swift-format

C:\Users\swift-ci\jenkins\workspace\swift-corelibs-libdispatch-PR-windows\swift-format\Tests\SwiftFormatPerformanceTests\WhitespaceLinterPerformanceTests.swift:16: error: WhitespaceLinterPerformanceTests.testWhitespaceLinterPerformance : failed: The relative standard deviation of the measurements is 255.460% which is higher than the max allowed of 10.000%.

@hborla
Copy link
Member Author

hborla commented Feb 25, 2025

@bnbarham
Copy link
Contributor

@swift-ci please test Windows

@hborla hborla merged commit 9962e1b into swiftlang:main Feb 26, 2025
2 checks passed
@hborla hborla deleted the dispatchqos-sendable branch February 26, 2025 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants