mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-04-27 19:09:47 +03:00
1226bb9268
This isn't causing any functional problem today, but technically `mapped[tls_offset..]` runs past the tls part of `mapped` and into the `Instance` storage, and currently `prepareArea()` memsets its entire argument to zero. It is only the current layout and initialization order of `mapped` that prevents this from being a problem. Being more precise here avoids future footguns if any of that changes.