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

Support const-initialization in loom::thread_local! #353

Closed
wants to merge 1 commit into from

Conversation

Wuelle
Copy link

@Wuelle Wuelle commented May 9, 2024

This fixes #346

Also added a test that verifies that loom::thread_local accepts common inputs
to std::thread::thread_local.

Edit: Removed the test again, because it breaks CI (inline-const is still experimental)

@Wuelle Wuelle force-pushed the const_thread_local branch 2 times, most recently from 1f0d9a0 to 420c0f4 Compare May 9, 2024 11:51
@Darksonn
Copy link
Contributor

We do not support unstable Rust features.

@Darksonn Darksonn closed this May 11, 2024
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.

loom::thread_local does not support const-initialization
2 participants