diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2022-03-23 19:20:38 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2022-03-23 19:20:38 -0700 |
| commit | 74ccd0c40b6871093f52769d342c1316e9ded0c0 (patch) | |
| tree | 0344132802f5581c1687e7f72083577c0648eb3a /src/Module.zig | |
| parent | 7378ce67dabf996f2d0927138f826dfb3d6fa05f (diff) | |
| download | zig-74ccd0c40b6871093f52769d342c1316e9ded0c0.tar.gz zig-74ccd0c40b6871093f52769d342c1316e9ded0c0.zip | |
Sema: Value.copy: we gotta copy the bytes
For Value.Tag.bytes, the value copy implementation did not copy the
bytes array. No good. This operation must do a deep copy. If we want
some other mechanism for not copying very large byte buffers then it has
to work differently than this one.
Diffstat (limited to 'src/Module.zig')
0 files changed, 0 insertions, 0 deletions
