We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b5e67a0 commit 7453235Copy full SHA for 7453235
library/core/src/sync/atomic.rs
@@ -92,9 +92,13 @@
92
//! "sufficiently small" depends on the architecture:
93
//!
94
//! | Target architecture | Maximal atomic `load` size that is guaranteed read-only |
95
-//! |----------|---------|
96
-//! | `x86` | 4 bytes |
97
-//! | `x86_64` | 8 bytes |
+//! |-----------|---------|
+//! | `x86` | 4 bytes |
+//! | `x86_64` | 8 bytes |
98
+//! | `arm` | 4 bytes |
99
+//! | `aarch64` | 8 bytes |
100
+//! | `riscv32` | 4 bytes |
101
+//! | `riscv64` | 8 bytes |
102
103
//! Any atomic `load` on read-only memory larger than the given size are Undefined Behavior. For
104
//! architectures not listed above, all atomic `load` on read-only memory are Undefined Behavior.
0 commit comments