Skip to content

Commit f1b7b9a

Browse files
committed
Revise target_has_atomic_primitive_alignment
Let's adjust the wording a bit.
1 parent f165283 commit f1b7b9a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/conditional-compilation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ r[cfg.target_has_atomic_primitive_alignment]
260260
### `target_has_atomic_primitive_alignment`
261261

262262
r[cfg.target_has_atomic_primitive_alignment.def]
263-
Key-value option set for each bit width where the corresponding [atomic][core::sync::atomic] type has the same alignment as the equivalent integer type.
263+
Key-value option set for each bit width where the [atomic][core::sync::atomic] type has the same alignment as the corresponding integer type.
264264

265265
> [!NOTE]
266266
> The alignment is usually the same for a given bit width. However, on some targets such as 32-bit x86, 64-bit atomic types such as [`AtomicI64`][core::sync::atomic::AtomicI64] have an alignment of 8 bytes while `i64` is only aligned to 4 bytes. In this situation, `target_has_atomic_primitive_alignment = "64"` is not set.

0 commit comments

Comments
 (0)