Files
zig/lib
Sertonix 084eab03d7 compiler_rt: Fix extern mem{set,cpy,move} type on arm
Otherwise gcc will refuse to compile the bootstrap compiler_rt.c.
Excerpt of the errors:

/builds/sertonix/aports/community/zig/src/zig-0.16.0/build/compiler_rt.c:1459:21: error: conflicting types for 'memcpy'; have 'uint8_t *(uint8_t *, const uint8_t *, uintptr_t)' {aka 'unsigned char *(unsigned char *, const unsigned char *, unsigned int)'}
 1459 | zig_extern uint8_t *memcpy(uint8_t *a0 zig_nonstring, uint8_t const *a1 zig_nonstring, uintptr_t a2);
      |                     ^~~~~~
/builds/sertonix/aports/community/zig/src/zig-0.16.0/stage1/zig.h:510:18: note: previous declaration of 'memcpy' with type 'void *(void *, const void *, unsigned int)'
  510 | zig_extern void *memcpy (void *zig_restrict, void const *zig_restrict, size_t);
      |                  ^~~~~~
/builds/sertonix/aports/community/zig/src/zig-0.16.0/build/compiler_rt.c: In function 'zig_e___negxf2':
/builds/sertonix/aports/community/zig/src/zig-0.16.0/build/compiler_rt.c:1758:9: error: passing argument 1 of 'memcpy' from incompatible pointer type [-Wincompatible-pointer-types]
 1758 |  memcpy(&t0, &a0, 16);
      |         ^~~
      |         |
      |         zig_u128 *
2026-04-23 08:42:53 +02:00
..
2026-04-22 19:30:39 +02:00
2026-04-22 08:37:15 +02:00
2026-04-22 16:11:02 -07:00
2026-04-16 19:21:16 +02:00