Skip to content

When RUST_THREADS is bad, "fatal runtime error: runtime tls key not initialized" #8979

Closed
@jorendorff

Description

@jorendorff
$ RUST_THREADS=x ./a.out

You've met with a terrible fate, haven't you?

fatal runtime error: runtime tls key not initialized
Abort trap: 6

The abort message is meant to be more informative...

rtabort!("`RUST_THREADS` is `%s`, should be a positive integer", nstr)

Maybe this happens to early for fmt! to be used.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions