diff options
| -rw-r--r-- | library/core/src/sync/atomic.rs | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/library/core/src/sync/atomic.rs b/library/core/src/sync/atomic.rs index 1443b9d594c..118b90b5d64 100644 --- a/library/core/src/sync/atomic.rs +++ b/library/core/src/sync/atomic.rs @@ -92,9 +92,13 @@ //! "sufficiently small" depends on the architecture: //! //! | Target architecture | Maximal atomic `load` size that is guaranteed read-only | -//! |----------|---------| -//! | `x86` | 4 bytes | -//! | `x86_64` | 8 bytes | +//! |-----------|---------| +//! | `x86` | 4 bytes | +//! | `x86_64` | 8 bytes | +//! | `arm` | 4 bytes | +//! | `aarch64` | 8 bytes | +//! | `riscv32` | 4 bytes | +//! | `riscv64` | 8 bytes | //! //! Any atomic `load` on read-only memory larger than the given size are Undefined Behavior. For //! architectures not listed above, all atomic `load` on read-only memory are Undefined Behavior. |
