Skip to content

Investigate TLS destructor order on Linux/Unix #2486

Closed
@RalfJung

Description

@RalfJung

@drmeepster reports that we are running the TLS destructors in a different order than what happens when you run rustc for real. However, to my knowledge the exact order in which TLS destructors are invoked is actually not documented. Still, we should ensure that is indeed the case, and add an appropriate comment in the code. (Or we could adjust the order, as that would make it consistent between Linux and Windows.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-shimsArea: This affects the external function shimsC-spec-questionCategory: it is unclear what the intended behavior of Miri for this case is

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions