Closed
Description
#[thread_local]
static mut FOO: () = ();
fn main() {}
error[E0658]: `#[thread_local]` is an experimental feature, and does not currently handle destructors. There is no corresponding `#[task_local]` mapping to the task model (see issue #29594)
--> src/main.rs:1:1
|
1 | #[thread_local]
| ^^^^^^^^^^^^^^^
|
= help: add #![feature(thread_local)] to the crate attributes to enable
error: aborting due to previous error