aboutsummaryrefslogtreecommitdiff
path: root/lib/std/Thread.zig
diff options
context:
space:
mode:
authorXavier Bouchoux <xavierb@gmail.com>2023-07-29 11:50:25 +0200
committerXavier Bouchoux <xavierb@gmail.com>2023-07-29 18:16:13 +0200
commit8c367ef99aae05ddba800a6c01cb07677e2f512c (patch)
treea9fecf3efe8e4ed6285f4de7d11ad02edb86e3d1 /lib/std/Thread.zig
parent46abf2045476a32b6f4dd939679c0fbc7a639133 (diff)
downloadzig-8c367ef99aae05ddba800a6c01cb07677e2f512c.tar.gz
zig-8c367ef99aae05ddba800a6c01cb07677e2f512c.zip
codegen: fix access to byte-aligned nested packed struct elems
When acessing a packed struct member via a byte aligned ptr (from the optimisation in Sema.structFieldPtrByIndex()) the codegen must apply the parent ptr packed_offset in addition to the field offset itself. resolves https://github.com/ziglang/zig/issues/16609
Diffstat (limited to 'lib/std/Thread.zig')
0 files changed, 0 insertions, 0 deletions