Files
rust/library/core/src
Jonathan Brouwer ef4cff2ea3 Rollup merge of #153015 - joboet:atomic_alias_generic, r=jhpratt
core: make atomic primitives type aliases of `Atomic<T>`

Tracking issue: https://github.com/rust-lang/rust/issues/130539

This makes `AtomicI32` and friends type aliases of `Atomic<T>` by encoding their alignment requirements via the use of an internal `Storage` associated type. This is also used to encode that `AtomicBool` store a `u8` internally.

Modulo the `Send`/`Sync` implementations, this PR does not move any trait implementations, methods or associated functions – I'll leave that for another PR.
2026-03-02 20:10:34 +01:00
..
2026-02-28 21:44:18 -07:00
…
…
…
2026-02-28 21:44:18 -07:00
…
2026-02-27 15:54:20 +01:00
…
2026-02-22 19:59:25 +01:00
…
2026-01-26 17:08:00 +00:00
…
2026-02-22 19:59:25 +01:00
2026-02-28 21:44:18 -07:00
2026-02-28 21:44:18 -07:00
…
2026-02-20 10:16:36 +01:00
…
…
…
…
…
…
…
…
2026-02-27 15:54:20 +01:00
2026-01-26 13:43:06 -06:00
2026-02-27 15:54:20 +01:00
…
…
2026-02-28 21:44:18 -07:00
…
…
…