0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00
Commit graph

40,365 commits

Author SHA1 Message Date
Alex Rønne Petersen
65f29a7344
libcxx: fix OpenBSD build failure due to missing __get_locale_encoding()
https://github.com/llvm/llvm-project/pull/228306
2026-10-07 00:30:52 +02:00
Lucas Chollet
709430de4b
libcxx: add serenity support 2026-10-07 00:30:52 +02:00
Elaine Gibson
1d8fcfcd0e
libcxx: add haiku support
https://github.com/llvm/llvm-project/pull/196271
2026-10-07 00:30:52 +02:00
Alex Rønne Petersen
eb8ab541be
libc: add darwin header os/os_sync_wait_on_address.h 2026-10-07 00:30:52 +02:00
Alex Rønne Petersen
1ce5af228f
test-libc-nsz: disable expl.c
Fails with LLVM 23:

    ========= expected this stdout: =========

    ========= but found: ====================
    /home/alexrp/Sources/libc-test/src/math/special/expl.h:38: bad fp exception: RN expl(-0x1p+14)=0x0p+0, want INEXACT|UNDERFLOW got 0
    /home/alexrp/Sources/libc-test/src/math/special/expl.h:38: RN expl(-0x1p+14) want 0x0p+0 got 0x1p-16384 ulperr 2305843009213693952.000 = 0x1p+61 + -0x0p+0
2026-10-07 00:30:52 +02:00
Alex Rønne Petersen
b2456e5d07
test-libc-nsz: disable logb[f,l].c
Fails with LLVM 23:

    ========= expected this stdout: =========

    ========= but found: ====================
    /home/alexrp/Sources/libc-test/src/math/special/logbf.h:1: bad fp exception: RN logbf(0x0p+0)=-inf, want DIVBYZERO got 0
    /home/alexrp/Sources/libc-test/src/math/special/logbf.h:2: bad fp exception: RN logbf(-0x0p+0)=-inf, want DIVBYZERO got 0
2026-10-07 00:30:52 +02:00
Alex Rønne Petersen
19413602e0
test-libc-nsz: include target triple in run step name 2026-10-07 00:30:52 +02:00
Alex Rønne Petersen
265f3dd10f
compiler-rt: disable __udivei4/__umodei4 test on sparc64 w/ llvm
https://codeberg.org/ziglang/zig/issues/37056
2026-10-07 00:30:52 +02:00
Alex Rønne Petersen
854f444fc2
test: add riscv64-hurd-gnu to llvm_targets 2026-10-07 00:30:52 +02:00
Alex Rønne Petersen
72222508bb
std.Target.DynamicLinker: define path for riscv64-hurd-gnu 2026-10-07 00:30:52 +02:00
Alex Rønne Petersen
e4c80ae695
std.debug.Dwarf: fix supportsUnwinding() for amdgcn
https://github.com/llvm/llvm-project/pull/183148
2026-10-07 00:30:52 +02:00
Alex Rønne Petersen
4b90a8e967
std.zig.system.x86: add jmpabs detection 2026-10-07 00:30:52 +02:00
Alex Rønne Petersen
22db242b79
std.zig.system.x86: add avx512bmm detection 2026-10-07 00:30:52 +02:00
Alex Rønne Petersen
fe188a3261
std.zig.system.x86: add hygon family CPU detection 2026-10-07 00:30:52 +02:00
Alex Rønne Petersen
b56c08c4c5
std.zig.system.x86: add znver6 CPU detection 2026-10-07 00:30:52 +02:00
Alex Rønne Petersen
0e4a98d969
std.zig.system.arm: add hip12 and rigel CPU detection 2026-10-07 00:30:52 +02:00
Alex Rønne Petersen
8c06a8dc8f
compiler: add loongarch(32,64)_preserve_none calling convention support 2026-10-07 00:30:52 +02:00
Alex Rønne Petersen
0d31d7e2fc
libunwind: define _LIBUNWIND_USE_HAIKU_BSD_LIB when targeting haiku 2026-10-07 00:30:52 +02:00
Alex Rønne Petersen
ed93893454
llvm: add updated issue links for targets with @prefetch crashes
Also lift the restriction for ARM which seems to work now.

* https://github.com/llvm/llvm-project/issues/218236
* https://github.com/llvm/llvm-project/issues/218239
2026-10-07 00:30:52 +02:00
Alex Rønne Petersen
2b06d3c44a
Compilation: remove __serenity__ macro
https://github.com/llvm/llvm-project/pull/187941
2026-10-07 00:30:52 +02:00
Alex Rønne Petersen
902c7bb4ff
libc: remove __SIG_ATOMIC_TYPE__ workaround for riscv(32,64)-netbsd 2026-10-07 00:30:52 +02:00
Alex Rønne Petersen
3392984789
libc: remove __WCHAR_MIN__ workaround for riscv(32,64)-netbsd 2026-10-07 00:30:52 +02:00
Alex Rønne Petersen
e4ad3e963e
test-behavior: re-enable float vector cmp tests on powerpc64 2026-10-07 00:30:52 +02:00
Alex Rønne Petersen
02488d96d6
test: re-enable stack protector for compiler-rt and libc tests on non-PowerPC
PowerPC is still affected by https://github.com/llvm/llvm-project/issues/195561.

closes https://codeberg.org/ziglang/zig/issues/31702
2026-10-07 00:30:52 +02:00
Alex Rønne Petersen
703a58da8d
Revert "llvm: disable loop vectorization for now"
This reverts commit 032319c942.
2026-10-07 00:30:52 +02:00
Alex Rønne Petersen
4bf080551c
Revert "llvm: workaround crash on large inline memset"
This reverts commit 84c2d809ec.

closes https://codeberg.org/ziglang/zig/issues/31701
2026-10-07 00:30:52 +02:00
Alex Rønne Petersen
66cd872dff
Revert "llvm: work around upstream aarch64-windows bug for private thread_local symbols"
This reverts commit b3747dd707.

closes https://codeberg.org/ziglang/zig/issues/31865
2026-10-07 00:30:52 +02:00
Alex Rønne Petersen
cc3b6ab1a8
cmake: remove workaround for Clang crash on s390x
https://github.com/llvm/llvm-project/pull/215027
2026-10-07 00:30:52 +02:00
Alex Rønne Petersen
964e93dc47
move wcslen from libzigc to compiler-rt
Similar to strlen, LLVM 23+ will sometimes emit libcalls to this function even
when libc isn't linked.
2026-10-07 00:30:52 +02:00
Alex Rønne Petersen
45a40c4fa8
llvm: update address spaces to LLVM 23
Note: https://codeberg.org/ziglang/zig/issues/31190#issuecomment-20523923
2026-10-07 00:30:51 +02:00
Alex Rønne Petersen
16e1906e3d
std.zig.llvm.Builder: update data layout strings to LLVM 23 2026-10-07 00:30:51 +02:00
Alex Rønne Petersen
bcc451758e
zig cc: update options data to LLVM 23 2026-10-07 00:30:51 +02:00
Alex Rønne Petersen
53173d25ab
std.Target: update CPU models and features to LLVM 23 2026-10-07 00:30:51 +02:00
Alex Rønne Petersen
3f15fc5ed6
libtsan: update to LLVM 23 2026-10-07 00:30:51 +02:00
Alex Rønne Petersen
a04355206b
libunwind: update to LLVM 23 2026-10-07 00:30:51 +02:00
Alex Rønne Petersen
f689d3cf27
llvm-libc: update to LLVM 23 2026-10-07 00:30:51 +02:00
Alex Rønne Petersen
3cc56f98b4
libcxx: update to LLVM 23 2026-10-07 00:30:51 +02:00
Alex Rønne Petersen
6c772d90f8
libcxxabi: update to LLVM 23 2026-10-07 00:30:51 +02:00
Alex Rønne Petersen
eeb3b230d6
zig cc: update intrinsic headers to LLVM 23 2026-10-07 00:30:51 +02:00
Alex Rønne Petersen
b47534a8bf
zig cc: update driver files to LLVM 23 2026-10-07 00:30:51 +02:00
Alex Rønne Petersen
37b8e4fc8f
build: update to LLVM 23 2026-10-07 00:30:51 +02:00
Alex Rønne Petersen
3a2f2614e1
README: update to LLVM 23 2026-10-07 00:30:50 +02:00
Alex Rønne Petersen
6c78e9250d Merge pull request 'move no-libc ELF auxiliary vector and thread-local storage initialization to compiler-rt' (#36564) from alexrp/zig:compiler-rt-tls-auxv into master
Reviewed-on: https://codeberg.org/ziglang/zig/pulls/36564
2026-10-07 00:26:56 +02:00
Frank Denis
bff490a238 Merge pull request 'crypto.ff: remove unnecessary @as()' (#37078) from jedisct1/zig:ff-fixes10 into master
Reviewed-on: https://codeberg.org/ziglang/zig/pulls/37078
2026-10-06 10:49:39 +02:00
Frank Denis
d6debf0de7 crypto.ff: remove unnecessary @as()
@truncate() was automatically converted into @as(...@truncate(...))
by `zig fmt` back in the days, but type inference is enough.
2026-10-06 10:49:39 +02:00
Frank Denis
be1fa17dce Merge pull request 'crypto.ff: add unit element helpers' (#37077) from jedisct1/zig:ff-fixes9 into master
Reviewed-on: https://codeberg.org/ziglang/zig/pulls/37077
2026-10-06 10:49:20 +02:00
Frank Denis
c60dfbcc6e crypto.ff: add unit element helpers
Add isOne(), isMinusOne(), and subOne() helpers for quick constant-time
operations against the unit element, regardless of the representation.
2026-10-06 10:49:20 +02:00
Frank Denis
afb5c19612 Merge pull request 'crypto.hash.blake3: add a parallel update function' (#37069) from jedisct1/zig:blake3parallelupdate into master
Reviewed-on: https://codeberg.org/ziglang/zig/pulls/37069
2026-10-06 10:49:00 +02:00
Frank Denis
2ab329aed1 std.crypto.Blake3: add incremental parallel update
Add updateParallel(), so streaming input can be hashed using
multiple threads.
2026-10-06 10:49:00 +02:00
Frank Denis
effdac38a8 Merge pull request 'crypto.hash.kangarootwelve: add a parallel update function' (#37067) from jedisct1/zig:ktparallelupdate into master
Reviewed-on: https://codeberg.org/ziglang/zig/pulls/37067
2026-10-06 10:48:30 +02:00