| ▲ | ameliaquining 2 hours ago | |||||||
I think these things are used more for developer experience than for performance, since you can always just do the initialization in main if you really have to. | ||||||||
| ▲ | Animats 2 hours ago | parent [-] | |||||||
It's something of an issue if you have some crate that needs to set itself up at load time without a call from main. But those are very rare. Even "simplelog" needs a call at startup to do anything. | ||||||||
| ||||||||