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

Conversation

simonwuelker
Copy link

@simonwuelker simonwuelker 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)

@simonwuelker simonwuelker 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
@emakryo
Copy link

emakryo commented Oct 10, 2024

Why is this feature considered unstable?

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
3 participants