Files
rust/library/std/src
Sean Cross 007bf7a05a std: xous: fix thread_local_key under tests
When running tests, libstd gets implemented as a second library. Due to
this fact, the `create()` and `destroy()` functions come from different
libraries.

To work around this, stash the `destroy_tls()` pointer in the first
unused slot in the thread local storage pool. That way even if
the destruction comes from a different version of libstd, the correct
`DTORS` list will be consulted.

Signed-off-by: Sean Cross <sean@xobs.io>
2024-01-13 09:13:56 -08:00
..
2023-12-10 10:56:22 +08:00
2023-12-10 10:56:22 +08:00
2023-08-13 13:07:53 -06:00
2023-12-10 10:56:22 +08:00
2023-12-22 11:01:42 +01:00
2023-12-10 10:56:22 +08:00
2023-12-10 10:56:22 +08:00
2024-01-11 11:30:12 -05:00
2023-12-10 10:56:22 +08:00
2023-04-27 15:56:57 +02:00
2024-01-10 02:34:34 -07:00
2023-05-03 22:09:33 -07:00
2023-12-10 10:56:22 +08:00
2023-11-26 09:25:07 +08:00
2023-12-12 18:12:23 +08:00
2024-01-11 11:30:12 -05:00
2023-12-15 16:17:28 +00:00
2023-12-15 16:17:28 +00:00