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-01-05 10:04:46 +09:00
2025-12-12 12:19:09 +01:00
2026-02-17 16:51:44 +00:00
2026-02-17 16:51:44 +00:00
2026-03-02 00:23:24 +01:00
2026-02-17 16:51:44 +00:00
2026-02-17 16:51:44 +00:00
2025-11-03 16:24:36 +00:00
2025-08-04 16:43:53 -04:00
2025-08-04 16:43:53 -04:00
2026-01-05 15:35:01 +09:00
2025-11-27 11:19:00 -05:00
2025-11-27 11:19:00 -05:00
2026-01-13 14:32:48 +05:30
2026-01-13 14:32:48 +05:30
2025-12-02 18:25:13 +00:00
2026-02-26 23:34:41 +08:00
2026-02-26 23:34:41 +08:00
2025-08-27 00:23:26 -04:00
2025-08-27 00:23:26 -04:00
2026-02-17 16:51:44 +00:00
2026-02-17 16:51:44 +00:00
2026-02-17 16:51:44 +00:00
2026-02-17 16:51:44 +00:00
2025-11-27 11:19:00 -05:00
2025-11-27 11:19:00 -05:00
2026-02-04 04:45:52 +00:00
2026-02-17 16:51:44 +00:00
2026-02-17 16:51:44 +00:00
2026-02-17 16:51:44 +00:00
2026-02-17 16:51:44 +00:00
2026-02-16 22:39:22 +00:00
2026-02-17 16:51:44 +00:00
2026-02-17 16:51:44 +00:00
2025-08-13 17:45:40 +03:00
2026-02-17 16:51:44 +00:00
2026-02-17 16:51:44 +00:00
2025-11-03 16:24:36 +00:00
2025-11-03 16:24:36 +00:00
2025-11-27 11:19:00 -05:00
2025-12-12 16:22:25 +00:00
2025-12-12 16:22:25 +00:00
2026-01-18 04:34:46 +09:00
2026-01-18 04:34:46 +09:00
2026-02-27 22:54:10 +09:00
2026-02-27 22:54:10 +09:00
2026-02-27 22:54:10 +09:00
2026-02-27 22:54:10 +09:00
2026-02-17 16:51:44 +00:00
2026-02-17 16:51:44 +00:00
2026-01-16 18:17:35 +01:00
2026-01-16 18:17:35 +01:00
2025-08-14 15:28:35 +02:00
2025-11-03 16:24:36 +00:00
2025-11-03 16:24:36 +00:00
2025-12-09 17:29:23 +00:00
2025-11-03 16:24:36 +00:00
2025-11-27 11:19:00 -05:00
2025-11-27 11:19:00 -05:00
2025-11-27 11:19:00 -05:00
2025-11-27 11:19:00 -05:00
2025-12-02 18:25:13 +00:00
2025-12-02 18:25:13 +00:00
2025-11-27 11:19:00 -05:00
2025-11-27 11:19:00 -05:00
2026-02-17 16:51:44 +00:00
2026-02-17 16:51:44 +00:00
2025-11-27 11:19:00 -05:00
2025-11-27 11:19:00 -05:00
2025-11-27 11:19:00 -05:00
2025-11-27 11:19:00 -05:00
2025-11-27 11:19:00 -05:00
2025-12-02 18:25:13 +00:00
2025-11-08 07:37:15 +01:00
2025-11-03 16:24:35 +00:00
2025-11-27 11:19:00 -05:00
2025-11-27 11:19:00 -05:00
2025-12-09 17:29:23 +00:00
2025-11-03 16:24:36 +00:00
2025-11-03 16:24:36 +00:00
2025-12-02 18:25:13 +00:00
2025-12-02 18:25:13 +00:00
2026-02-17 16:51:44 +00:00
2026-02-17 16:51:53 +00:00
2026-02-17 16:51:44 +00:00
2026-02-17 16:51:44 +00:00
2026-02-17 16:51:44 +00:00
2026-02-17 16:51:44 +00:00
2025-12-02 18:25:13 +00:00
2025-12-02 18:25:13 +00:00
2025-12-02 18:25:13 +00:00
2025-12-02 18:25:13 +00:00
2025-11-27 11:19:00 -05:00
2025-11-27 11:19:00 -05:00
2026-02-26 23:34:41 +08:00
2026-02-26 23:34:41 +08:00
2026-02-17 16:51:44 +00:00
2026-02-17 16:51:44 +00:00
2026-02-17 16:51:44 +00:00
2026-02-17 16:51:44 +00:00
2026-02-17 16:51:44 +00:00
2025-08-26 06:36:53 +00:00
2025-08-14 18:50:58 +03:00
2025-08-14 18:50:58 +03:00
2025-11-27 11:19:00 -05:00
2025-11-27 11:19:00 -05:00
2026-02-17 16:51:44 +00:00
2026-02-17 16:51:44 +00:00
2025-11-27 11:19:00 -05:00
2025-11-27 11:19:00 -05:00
2026-02-17 16:51:44 +00:00
2026-02-17 16:51:44 +00:00
2025-12-09 17:29:23 +00:00
2025-12-23 21:13:24 +09:00
2025-12-23 21:13:24 +09:00
2026-02-17 16:51:44 +00:00
2026-02-17 16:51:44 +00:00
2025-09-12 14:45:12 -04:00
2025-12-02 18:25:13 +00:00
2025-12-16 02:10:08 +09:00
2025-12-16 02:10:08 +09:00
2025-12-18 21:18:05 +01:00
2025-12-18 21:18:05 +01:00
2025-12-02 11:24:03 +09:00
2025-08-24 09:20:57 +02:00
2025-08-24 09:20:57 +02:00
2025-08-05 19:34:46 +05:00
2026-02-17 16:51:44 +00:00
2026-02-17 16:51:44 +00:00
2025-11-27 11:19:00 -05:00
2025-12-09 17:29:23 +00:00
2025-11-27 11:19:00 -05:00
2025-12-09 17:29:23 +00:00
2025-10-25 22:46:15 +01:00
2025-10-25 22:46:15 +01:00
2025-12-18 21:18:05 +01:00
2025-12-18 21:18:05 +01:00
2026-01-27 09:42:38 +11:00
2026-01-27 09:42:38 +11:00
2025-12-02 18:25:13 +00:00
2025-07-31 21:25:49 +05:00
2025-11-19 15:50:40 +00:00
2025-11-19 15:50:40 +00:00
2026-02-10 13:45:09 +01:00
2025-11-27 11:19:00 -05:00
2025-11-27 11:19:00 -05:00
2026-02-26 23:34:41 +08:00
2026-02-26 23:34:41 +08:00
2025-11-27 11:19:00 -05:00
2025-11-27 11:19:00 -05:00
2025-11-27 11:19:00 -05:00
2025-11-27 11:19:00 -05:00
2025-11-27 11:19:00 -05:00
2025-11-27 11:19:00 -05:00
2025-11-27 11:19:00 -05:00
2025-11-27 11:19:00 -05:00
2025-11-27 11:19:00 -05:00
2025-12-02 18:25:13 +00:00
2025-11-03 16:24:36 +00:00
2026-02-17 16:51:44 +00:00
2026-02-17 16:51:44 +00:00
2026-01-05 15:35:01 +09:00
2026-02-22 11:40:27 +01:00
2026-02-22 11:40:27 +01:00
2026-02-01 04:09:25 +00:00
2026-02-01 04:09:25 +00:00
2026-02-01 04:09:25 +00:00
2026-02-01 04:09:25 +00:00
2026-02-04 04:45:52 +00:00
2025-12-17 14:53:14 +00:00
2025-12-17 14:53:14 +00:00
2026-02-17 16:51:44 +00:00
2026-02-17 16:51:44 +00:00
2025-12-09 17:29:23 +00:00
2025-12-09 17:29:23 +00:00
2026-02-17 16:51:44 +00:00
2026-02-17 16:51:44 +00:00
2025-11-27 11:19:00 -05:00
2026-02-19 21:24:47 +03:00
2025-08-27 15:06:05 -04:00
2025-08-27 15:06:05 -04:00
2026-02-17 16:51:44 +00:00
2026-02-17 16:51:44 +00:00
2026-02-17 16:51:44 +00:00
2026-02-17 16:51:44 +00:00
2025-09-25 20:36:14 +03:00
2025-09-25 20:36:14 +03:00
2025-11-27 11:19:00 -05:00
2025-11-27 11:19:00 -05:00
2025-12-02 18:25:13 +00:00
2026-02-17 16:51:44 +00:00
2026-02-17 16:51:44 +00:00
2025-11-03 16:24:36 +00:00
2025-11-03 16:24:36 +00:00
2025-11-27 11:19:00 -05:00
2026-02-17 16:51:44 +00:00
2026-02-17 16:51:44 +00:00