We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Similar to lazy_static::initialize() there could be a lazy_static::is_initialized().
lazy_static::initialize()
lazy_static::is_initialized()
This could be used to give code that might run into a initialization cycle issue an way to avoid it.
However, it seems that std::sync::Once does not support this.
std::sync::Once