How to create a static mutable hash? I'm fine with unsafe code.
Normal static does not allow global variables with constructors.
As an example, I want to have https://gist.github.com/Kimundi/8782487 , but the HASHMAP can be changed.
I understand that a global shared mutable state is not that very rusty, but I just want to know if this is possible.
source
share