about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/src
diff options
context:
space:
mode:
authorTrevor Gross <t.gross35@gmail.com>2024-07-17 04:05:59 -0500
committerGitHub <noreply@github.com>2024-07-17 04:05:59 -0500
commit599d32414b84bf89cc018db2f542a3a28902574e (patch)
tree96319a92684243669d5cbedba1612d890c9efe1b /compiler/rustc_codegen_gcc/src
parent56f95559dafe39c7903d52bae9c52acf37878476 (diff)
parent0585c4a23ed7489ab21aa586eec4700b567cee03 (diff)
downloadrust-599d32414b84bf89cc018db2f542a3a28902574e.tar.gz
rust-599d32414b84bf89cc018db2f542a3a28902574e.zip
Rollup merge of #127813 - ChrisDenton:win-futex, r=joboet
Prevent double reference in generic futex

In the Windows futex implementation we were a little lax at allowing references to references (i.e. `&&`) which can lead to deadlocks due to reading the wrong memory address. This uses a trait to tighten the constraints and ensure this doesn't happen.

r? libs
Diffstat (limited to 'compiler/rustc_codegen_gcc/src')
0 files changed, 0 insertions, 0 deletions