about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-02-10 13:12:29 +0100
committerGitHub <noreply@github.com>2024-02-10 13:12:29 +0100
commit83544703f5050ca80984b1ae9f7ad6f59aab8bac (patch)
treed1f540c96249368868887583a912e9e025fefa61 /compiler/rustc_codegen_llvm/src/errors.rs
parent2eda0c7b2e4ea5cfbb99778fd9266388a5096292 (diff)
parentc94bbb24db36726a2931ae9df114581b2e76f283 (diff)
downloadrust-83544703f5050ca80984b1ae9f7ad6f59aab8bac.tar.gz
rust-83544703f5050ca80984b1ae9f7ad6f59aab8bac.zip
Rollup merge of #120823 - LegionMammal978:clarify-atomic-align, r=RalfJung
Clarify that atomic and regular integers can differ in alignment

The documentation for atomic integers says that they have the "same in-memory representation" as their underlying integers. This might be misconstrued as implying that they have the same layout. Therefore, clarify that atomic integers' alignment is equal to their size.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions