about summary refs log tree commit diff
path: root/src/librustdoc/html/static
diff options
context:
space:
mode:
authorTrevor Gross <t.gross35@gmail.com>2025-07-26 02:19:29 -0500
committerGitHub <noreply@github.com>2025-07-26 02:19:29 -0500
commit2fcea9fb68c8e04f10e5cb15bbfb486de9800afa (patch)
tree0e82c77e1c2b335c4998ea5c2351fc022fd9c576 /src/librustdoc/html/static
parent75ed6de1eef96753da3497c0f6e2623cc86fc240 (diff)
parent6f4d0bdde85f9e2a0e61bb3e16d407540ddc09ba (diff)
downloadrust-2fcea9fb68c8e04f10e5cb15bbfb486de9800afa.tar.gz
rust-2fcea9fb68c8e04f10e5cb15bbfb486de9800afa.zip
Rollup merge of #143859 - orlp:thread-into-raw-align, r=jhpratt
Guarantee 8 bytes of alignment in Thread::into_raw

When using `AtomicPtr` for synchronization it's incredibly useful when you've got a couple bits you can stuff metadata in. By guaranteeing that `Thread`'s `Inner` struct is aligned to 8 bytes everyone can use the bottom 3 bits to signal other things, such as a critical section, etc.

This guarantee is thus very useful and costs us nothing.
Diffstat (limited to 'src/librustdoc/html/static')
0 files changed, 0 insertions, 0 deletions