diff options
| author | joboet <jonasboettiger@icloud.com> | 2024-11-25 16:27:17 +0100 |
|---|---|---|
| committer | joboet <jonasboettiger@icloud.com> | 2024-11-25 16:27:17 +0100 |
| commit | 77fccf59e3838473e234bdb970e7100ba5c361f8 (patch) | |
| tree | 6f025b3b49f76331db3a4cb42a8636cc6255edec /compiler/rustc_codegen_llvm/src | |
| parent | 7db7489f9bc274cb60c4956bfa56de0185eb1b9b (diff) | |
| download | rust-77fccf59e3838473e234bdb970e7100ba5c361f8.tar.gz rust-77fccf59e3838473e234bdb970e7100ba5c361f8.zip | |
miri: implement `TlsFree`
If the variable does not need a destructor, `std` uses racy initialization for creating TLS keys on Windows. With just the right timing, this can lead to `TlsFree` being called. Unfortunately, with #132654 this is hit quite often, so miri should definitely support `TlsFree` ([documentation](https://learn.microsoft.com/en-us/windows/win32/api/processthreadsapi/nf-processthreadsapi-tlsfree)). I'm filing this here instead of in the miri repo so that #132654 isn't blocked for so long.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
