about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-11-27 08:13:48 +0100
committerGitHub <noreply@github.com>2024-11-27 08:13:48 +0100
commit3cce78b0d125f3fd0179b51245f24587467cd2bc (patch)
tree7a131d38fe5b78aa369ae5750b716b1f22db98e0 /compiler/rustc_codegen_llvm/src
parent04d633366d163f12c7639dfefd22dc27e29f2a08 (diff)
parent77fccf59e3838473e234bdb970e7100ba5c361f8 (diff)
downloadrust-3cce78b0d125f3fd0179b51245f24587467cd2bc.tar.gz
rust-3cce78b0d125f3fd0179b51245f24587467cd2bc.zip
Rollup merge of #133457 - joboet:miri-tlsfree, r=saethlin
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