about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/builder
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-09-28 18:13:12 +0200
committerGitHub <noreply@github.com>2025-09-28 18:13:12 +0200
commit750e902a751a8761ad0a9e8ba806c5c543d17e34 (patch)
treebc98fc5c68907d4279e002acbc0b640b531f62d8 /compiler/rustc_codegen_llvm/src/builder
parentc29fb2e57ed0578c9051cc9314b0225f847de710 (diff)
parentf1d6e000b500bd23a9f75716a161bc015ab49273 (diff)
downloadrust-750e902a751a8761ad0a9e8ba806c5c543d17e34.tar.gz
rust-750e902a751a8761ad0a9e8ba806c5c543d17e34.zip
Rollup merge of #146675 - Jules-Bertholet:sync-nonexclusive, r=Mark-Simulacrum
Allow shared access to `Exclusive<T>` when `T: Sync`

Addresses libs-api request in https://github.com/rust-lang/rust/issues/98407#issuecomment-3299348713.

Adds the following trait impls to `Exclusive<T>`, all bounded on `T: Sync`:

- `AsRef<T>`
- `Clone`
- `Copy`
- `PartialEq`
- `StructuralPartialEq`
- `Eq`
- `Hash`
- `PartialOrd`
- `Ord`
- `Fn`

``@rustbot`` label T-libs-api
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/builder')
0 files changed, 0 insertions, 0 deletions