#[pre_init]Expand description
Attribute to mark which function will be called at the beginning of the reset handler.
IMPORTANT: This attribute can appear at most once in the dependency graph.
The function must have the signature of unsafe fn().
The function passed will be called before static variables are initialized. Any access of static variables will result in undefined behavior.
ยงExamples
#[pre_init]
unsafe fn before_main() {
// do something here
}