mirror of
https://codeberg.org/ziglang/zig
synced 2026-11-18 07:05:05 +00:00
Sema: fix memcpy alias safety incorrect math
Previously it was not multiplying by the element ABI size. Now, it uses ptr_add instructions which do math based on the element type.
This commit is contained in:
parent
5378fdffdc
commit
792bbfa301
4 changed files with 58 additions and 27 deletions
Loading…
Add table
Add a link
Reference in a new issue