about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/context.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-03-13 20:02:00 +0100
committerGitHub <noreply@github.com>2022-03-13 20:02:00 +0100
commit8dad2d172cf11b41da8c07870172515a62d49ebb (patch)
tree50e866526b06d1e4d867ef7e4bdb348d5edbc769 /compiler/rustc_codegen_llvm/src/context.rs
parent3c943d0eaad441784b6f79cdaaa99f6b7ff2ad63 (diff)
parentecf46d1074f0bb6d57bf4c3434cbe4b06c247f33 (diff)
downloadrust-8dad2d172cf11b41da8c07870172515a62d49ebb.tar.gz
rust-8dad2d172cf11b41da8c07870172515a62d49ebb.zip
Rollup merge of #94816 - WaffleLapkin:atomic_get_mut_slice, r=Mark-Simulacrum
Add `Atomic*::get_mut_slice`

This PR adds the inverse of `Atomic*::from_mut_slice` introduced in #94384 with the following API:
```rust
// core::sync::atomic

impl Atomic* {
    fn get_mut_slice(this: &mut [Self]) -> &mut [*];
}
```

cc `@cuviper`

-----

For now I've used the same tracking issue as `Atomic*::from_mut_slice`, should I open a new one?
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/context.rs')
0 files changed, 0 insertions, 0 deletions