Main thread thread-local destructors are not always run #126858
Labels
A-destructors
Area: Destructors (`Drop`, …)
A-thread-locals
Area: Thread local storage (TLS)
C-bug
Category: This is a bug.
O-android
Operating system: Android
O-linux
Operating system: Linux
O-musl
Target: The musl libc
Simplified testcase:
This should print
Foo dtor
, but prints nothing on some targets:Here's a more complicated testcase that also involves initializing a destructor while destructors are being run; ideally this will be added to the test suite at some point:
The text was updated successfully, but these errors were encountered: