Closed dtolnay closed 2 years ago
The Rust standard library is not yet properly initialized during life before main, so sticking things like the following in there is problematic and must not be allowed.
inventory::submit!({ std::println!("???"); std::thread::spawn(...); Thing {} });
The Rust standard library is not yet properly initialized during life before main, so sticking things like the following in there is problematic and must not be allowed.