Skip to content

Commit

Permalink
Merge pull request #1393 from dvdhrm/pr/align32
Browse files Browse the repository at this point in the history
type-layout: be more specific about 32-bit alignments
  • Loading branch information
ehuss authored Apr 3, 2024
2 parents 1e1fec3 + fdee104 commit 1c03c9d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/type-layout.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ target platform. For example, on a 32 bit target, this is 4 bytes and on a 64
bit target, this is 8 bytes.

Most primitives are generally aligned to their size, although this is
platform-specific behavior. In particular, on x86 u64 and f64 are only
aligned to 32 bits.
platform-specific behavior. In particular, on many 32-bit platforms `u64`
and `f64` are only aligned to 32 bits.

## Pointers and References Layout

Expand Down

0 comments on commit 1c03c9d

Please sign in to comment.