Finding where #[thread_local] is implemented in rustc

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:


I don't really know about it, but here's the tracking issue, which indicates that it gets translated into an LLVM attribute.

1 Like

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.