Constant r3::hunk::INIT_HOOK_PRIORITY

source ·
pub const INIT_HOOK_PRIORITY: i32 = -1879048192; // -1_879_048_192i32
Expand description

The priority of the startup hooks used to initialize typed hunks. It has a negative value so that startup hooks with non-negative priorities (which can be created without unsafe blocks) will never see an uninitialized value in a typed hunk.