Skip to content

Any rust program run with "std::ptr=4" in RUST_LOG meets with a terrible fate #9487

@MicahChalmer

Description

@MicahChalmer

The actual message you get is:

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions