Expand description

Support for statically initializing objects in memory.


  • An #[inline(never)] function that panics internally if the passed reference is true. This function is intended for use within the static_buf!() macro, which removes the size bloat of track_caller saving the location of every single call to static_init!(). If you hit this panic, you are either calling static_buf!() in a loop or calling a function multiple times which internally contains a call to static_buf!(). Typically, calls to static_buf!() are hidden within calls to static_init!() or component helper macros, so start your search there.