about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorjoboet <jonasboettiger@icloud.com>2024-08-04 10:32:57 +0200
committerjoboet <jonasboettiger@icloud.com>2024-08-12 10:08:56 +0200
commit8542cd67f0581dbace80f451a90caf9257802cb1 (patch)
tree1eb52dcf7fc15de196e8b60181430873bdfeefd2 /compiler/rustc_codegen_llvm/src
parentb389b0ab72cb0aa9acf4df0ae0c0e12090782da9 (diff)
downloadrust-8542cd67f0581dbace80f451a90caf9257802cb1.tar.gz
rust-8542cd67f0581dbace80f451a90caf9257802cb1.zip
std: do not overwrite style in `get_backtrace_style`
If another thread calls `set_backtrace_style` while a `get_backtrace_style` is reading the environment variables, `get_backtrace_style` will overwrite the value. Use an atomic CAS to avoid this.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions