Skip to content

Fix async_task_priority.swift test failure #42320

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 2 commits into from
Apr 13, 2022

Conversation

etcwilde
Copy link
Member

This patch updates async_task_priority.swift to only run on Apple platforms since it directly imports Darwin.
Additionally, replaces @_predatesConcurrency with the final @preconcurrency spelling.

This test imports Darwin directly so it fails on Linux with
```
error: no such module 'Darwin'
```
Replace use of `_predatesConcurrency` with `preconcurrency`.
@etcwilde etcwilde requested a review from rokhinip April 12, 2022 01:53
@etcwilde
Copy link
Member Author

@swift-ci please test

@etcwilde
Copy link
Member Author

@swift-ci please test Linux

1 similar comment
@etcwilde
Copy link
Member Author

@swift-ci please test Linux

@etcwilde
Copy link
Member Author

@swift-ci Please Build Toolchain Linux Platform

@etcwilde
Copy link
Member Author

@swift-ci please test Linux

@etcwilde
Copy link
Member Author

The failing toolchain build was to test why docc was failing and is unrelated to this PR.

@etcwilde etcwilde merged commit 49eccc4 into swiftlang:main Apr 13, 2022
@etcwilde etcwilde deleted the ewilde/fix-async-task-priority branch April 13, 2022 12:59
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.

3 participants