eager_static

Macro eager_static 

Source
macro_rules! eager_static {
    ($vis:vis static $name:ident : $ty:ty = $init:expr;) => { ... };
}
Expand description

Declare a thread-local static and schedule an eager initialization touch.

Expands to a thread_local! block and ensures the TLS slot is accessed during the eager-init phase so subsequent calls observe a fully initialized value.