Investigate TLS destructor order on Linux/Unix #2486
Labels
A-shims
Area: This affects the external function shims
C-spec-question
Category: it is unclear what the intended behavior of Miri for this case is
@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.)
The text was updated successfully, but these errors were encountered: