diff --git a/src/utils/components.rs b/src/utils/components.rs index 6dce259..6972c05 100644 --- a/src/utils/components.rs +++ b/src/utils/components.rs @@ -15,6 +15,9 @@ static COMPONENT_NAMES: &[(u16, &str)] = &[ (game_reporting::COMPONENT, "GameReporting"), (user_sessions::COMPONENT, "UserSessions"), ]; + +// TODO: Option can be replaced with static init after https://github.com/rust-lang/rust/issues/102575 is stablized +// map creation becomes const stable static mut COMMANDS: Option> = None; static mut NOTIFICATIONS: Option> = None;