about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2024-08-12 17:09:16 +0200
committerGitHub <noreply@github.com>2024-08-12 17:09:16 +0200
commitaa6f240972f58c791481cce8cf98fe84d3b3d702 (patch)
tree0a3dd2561420cca103c17199cb1ca2c3ccd8ed5e /compiler/rustc_codegen_llvm/src
parentaea508796429237bac680b2a65fc4be48341307f (diff)
parent8542cd67f0581dbace80f451a90caf9257802cb1 (diff)
downloadrust-aa6f240972f58c791481cce8cf98fe84d3b3d702.tar.gz
rust-aa6f240972f58c791481cce8cf98fe84d3b3d702.zip
Rollup merge of #128632 - joboet:dont_overwrite_style, r=Amanieu
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