Where would I find out how the #[thread_local]
feature is implemented in rustc? This feature is used for example within the guts of thread_local!()
macro at:
https://github.com/rust-lang/rust/blob/master/library/std/src/thread/local.rs
Thanks!
Where would I find out how the #[thread_local]
feature is implemented in rustc? This feature is used for example within the guts of thread_local!()
macro at:
https://github.com/rust-lang/rust/blob/master/library/std/src/thread/local.rs
Thanks!
I don't really know about it, but here's the tracking issue, which indicates that it gets translated into an LLVM attribute.
This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.