You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You've met with a terrible fate, haven't you?
fatal runtime error: runtime tls key not initialized
This happens when any rust program, whether it's the rust compiler itself or a program consisting of nothing but fn main() {}, is run with std::ptr=4 in RUST_LOG. It will happen with anything that activates debug logging for std::ptr--I discovered it when running with std=4.
The text was updated successfully, but these errors were encountered:
If there's no TLS key just yet, then there's nothing to unsafely borrow, so
continue returning None. This prevents causing the runtime to abort itself when
logging before the runtime is fully initialized.
Closes#9487
r? @brson
Silence [`question_mark`] in const context
fixrust-lang/rust-clippy#9175
When `const_try` is stabilised can be turned into a MSRV
changelog: Silence [`question_mark`] in const context
The actual message you get is:
This happens when any rust program, whether it's the rust compiler itself or a program consisting of nothing but
fn main() {}
, is run withstd::ptr=4
in RUST_LOG. It will happen with anything that activates debug logging forstd::ptr
--I discovered it when running withstd=4
.The text was updated successfully, but these errors were encountered: