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

task: invert const thread-local cfg #4859

Closed
wants to merge 1 commit into from

Conversation

Darksonn
Copy link
Contributor

This PR inverts the version detection in #4677. The motivation for doing this is that it makes it possible to disable the feature by passing RUSTFLAGS="--cfg tokio_no_const_thread_local" even if you are using a compiler that supports it.

@Darksonn Darksonn added A-tokio Area: The main tokio crate M-task Module: tokio/task labels Jul 25, 2022
@Darksonn Darksonn closed this Jul 25, 2022
@Darksonn Darksonn deleted the alice/invert-task-local-cfg branch July 25, 2022 11:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-tokio Area: The main tokio crate M-task Module: tokio/task
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants