> <@gnomeddev:matrix.org> RE: static mut, it isn't a good idea to rely on it especially nowadays as it will be warned on usage in Rust 2024 and possibly removed in Rust 2027. It's better to use interior mutability, the closest to `static mut` would be `SyncUnsafeCell` but you should probably be using something like `static_cell` or `OnceLock`. * Is this okay or could be removed too? ``` static STREAM_WRAPPER_MUTEX: AsyncMutex> = AsyncMutex::new(None); static INTERACTIVE_TERMINAL_MUTEX: SyncMutex> = SyncMutex::new(None); ```