Skip to content

[OSLog] Remove the dependency on _Concurrency #41644

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 1 commit into from
Mar 7, 2022

Conversation

egorzhdan
Copy link
Contributor

_Concurrency is not used in the module, and having it as a dependency causes a ninja error when trying to build stdlib without -D SWIFT_ENABLE_EXPERIMENTAL_CONCURRENCY=YES:

ninja: error: 'stdlib/private/OSLog/swift_Concurrency-swiftmodule-macosx-arm64', needed by 'stdlib/private/OSLog/OSX/arm64/OSLogTestHelper.o', missing and no known rule to make it

_Concurrency is not used in the module, and having it as a dependency causes a ninja error when trying to build stdlib without `-D SWIFT_ENABLE_EXPERIMENTAL_CONCURRENCY=YES`:

```
ninja: error: 'stdlib/private/OSLog/swift_Concurrency-swiftmodule-macosx-arm64', needed by 'stdlib/private/OSLog/OSX/arm64/OSLogTestHelper.o', missing and no known rule to make it
```
@egorzhdan
Copy link
Contributor Author

@swift-ci please smoke test

@egorzhdan
Copy link
Contributor Author

@swift-ci please build toolchain

@egorzhdan
Copy link
Contributor Author

@swift-ci please build toolchain Linux

@egorzhdan
Copy link
Contributor Author

@swift-ci please build toolchain Linux platform

2 similar comments
@egorzhdan
Copy link
Contributor Author

@swift-ci please build toolchain Linux platform

@egorzhdan
Copy link
Contributor Author

@swift-ci please build toolchain Linux platform

@egorzhdan
Copy link
Contributor Author

The failure on Linux is unrelated, and this change only affects Darwin toolchains.

@egorzhdan egorzhdan merged commit ea002ec into main Mar 7, 2022
@egorzhdan egorzhdan deleted the egorzhdan/no-concurrency branch March 7, 2022 12:19
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