| ... | ... | @@ -371,8 +371,7 @@ pub fn evalZigProcess( |
| 371 | 371 | // TODO: use @ptrCast when the compiler supports it |
| 372 | 372 | const unaligned_extra = std.mem.bytesAsSlice(u32, extra_bytes); |
| 373 | 373 | const extra_array = try arena.alloc(u32, unaligned_extra.len); |
| 374 | | // TODO: use @memcpy when it supports slices |
| 375 | | for (extra_array, unaligned_extra) |*dst, src| dst.* = src; |
| 374 | @memcpy(extra_array, unaligned_extra); |
| 376 | 375 | s.result_error_bundle = .{ |
| 377 | 376 | .string_bytes = try arena.dupe(u8, string_bytes), |
| 378 | 377 | .extra = extra_array, |