aboutsummaryrefslogtreecommitdiff
path: root/lib/std/testing.zig
diff options
context:
space:
mode:
authormlugg <mlugg@mlugg.co.uk>2025-01-28 02:49:58 +0000
committerMatthew Lugg <mlugg@mlugg.co.uk>2025-01-29 06:35:22 +0000
commit71d16106ad76bb31bc4e17dc37f8d8b5498a12dd (patch)
treef8db4c1ed772e3188447afad05156dd6d1c664fc /lib/std/testing.zig
parent97ccf3504f0b4787b86fa882312aba01ab980121 (diff)
downloadzig-71d16106ad76bb31bc4e17dc37f8d8b5498a12dd.tar.gz
zig-71d16106ad76bb31bc4e17dc37f8d8b5498a12dd.zip
Sema: `@memcpy` changes
* The langspec definition of `@memcpy` has been changed so that the source and destination element types must be in-memory coercible, allowing all such calls to be raw copying operations, not actually applying any coercions. * Implement aliasing check for comptime `@memcpy`; a compile error will now be emitted if the arguments alias. * Implement more efficient comptime `@memcpy` by loading and storing a whole array at once, similar to how `@memset` is implemented.
Diffstat (limited to 'lib/std/testing.zig')
0 files changed, 0 insertions, 0 deletions