-
Notifications
You must be signed in to change notification settings - Fork 13k
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
#[thread_local] statics shouldn't require Sync #18001
Labels
A-type-system
Area: Type system
Comments
emberian
added
the
regression-from-stable-to-nightly
Performance or correctness regression from stable to nightly.
label
Nov 12, 2014
brson
removed
the
regression-from-stable-to-nightly
Performance or correctness regression from stable to nightly.
label
May 28, 2015
I'm untagging all pre-1.0 regressions to repurpose it for stable regressions. |
@alexcrichton Do you know if this is still a problem? |
Yes this is still a problem: #![feature(thread_local)]
use std::cell::Cell;
#[thread_local]
pub static FOO: Cell<u32> = Cell::new(3);
|
6 tasks
Triaging: This still fails on I've added the #![feature(const_fn)]
#![feature(thread_local)]
use std::cell::Cell;
#[thread_local]
pub static FOO: Cell<u32> = Cell::new(3);
fn main() {} Here is the produced error:
|
Any update on this? |
Closing in favor of more-recent duplicate #35035. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This was a recent regression.
The text was updated successfully, but these errors were encountered: