Files
rust/library/core/src
Matthias Krüger e670379b57 Rollup merge of #108419 - tgross35:atomic-as-ptr, r=m-ou-se
Stabilize `atomic_as_ptr`

Fixes #66893

This stabilizes the `as_ptr` methods for atomics. The stabilization feature gate used here is `atomic_as_ptr` which supersedes `atomic_mut_ptr` to match the change in https://github.com/rust-lang/rust/pull/107736.

This needs FCP.

New stable API:

```rust
impl AtomicBool {
    pub const fn as_ptr(&self) -> *mut bool;
}

impl AtomicI32 {
    pub const fn as_ptr(&self) -> *mut i32;
}

// Includes all other atomic types

impl<T> AtomicPtr<T> {
    pub const fn as_ptr(&self) -> *mut *mut T;
}
```

r? libs-api
``@rustbot`` label +needs-fcp
2023-03-13 21:55:35 +01:00
..
2022-10-29 09:23:12 +02:00
2023-01-29 15:20:03 +01:00
2022-12-20 15:01:37 +00:00
2023-01-06 13:20:58 +01:00
2023-01-30 13:09:09 -05:00
2023-02-26 13:50:10 +01:00
2023-02-13 14:17:45 +08:00
2023-03-03 03:03:29 +01:00
2022-11-20 10:28:14 +01:00
2022-12-12 16:22:01 -07:00
2022-11-06 17:21:21 -05:00
2022-11-04 20:06:18 -07:00
2023-02-15 16:22:08 +00:00
2023-03-08 00:00:18 +00:00
2023-03-12 16:30:51 -07:00
2023-01-30 13:09:09 -05:00
2023-01-25 09:44:29 -05:00
2022-11-06 17:11:02 -05:00