aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2025-08-31compiler: introduce `@Restrict` builtinrestricted-function-pointersAndrew Kelley
conservative, incomplete change
2025-08-31std.os.windows: avoid dragging in baggage on non-windowsAndrew Kelley
particularly noticeable when usize is not 4 or 8 bytes
2025-08-31delete behavior test that depends on std.fmtAndrew Kelley
behavior tests should have minimal dependency on std
2025-08-31std.fmt: delete deprecated APIsAndrew Kelley
std.fmt.Formatter -> std.fmt.Alt std.fmt.format -> std.Io.Writer.print
2025-08-31zig_clang: fix ZigClangAPValueLValueBase struct layout to match Clang 21Alex Rønne Petersen
Fixes the compiler build for various targets, especially 32-bit.
2025-08-30Populate MSG struct for OpenBSD (#25076)Brandon Mercer
* update the MSG struct with the correct values for openbsd * add comment with link to sys/sys/socket.h --------- Co-authored-by: Brandon Mercer <bmercer@eutonian.com>
2025-08-30Merge pull request #25077 from ziglang/GenericReaderAndrew Kelley
std.Io: delete GenericReader, AnyReader, FixedBufferStream; and related API breakage
2025-08-30Merge pull request #25055 from ziglang/llvm21Alex Rønne Petersen
LLVM 21
2025-08-30Revert "std.Io.Reader: work around llvm backend bug"Andrew Kelley
This reverts commit 530cc2c1111699d9d02ad9ebef94efa6b99f5205. The compiler bug has been fixed.
2025-08-30ci: update tarballs to 0.16.0-dev.104+689461e31Alex Rønne Petersen
2025-08-30stage1: update zig1.wasmAlex Rønne Petersen
Needed because some std.Target.aarch64 features were renamed in LLVM 21. Signed-off-by: Alex Rønne Petersen <alex@alexrp.com>
2025-08-30std: disable `sha3-512 single` test on RISC-V with V supportAlex Rønne Petersen
https://github.com/ziglang/zig/issues/25083
2025-08-30child process test: preemptively use streaming modeAndrew Kelley
works around #24984
2025-08-30compiler: fix macos buildAndrew Kelley
2025-08-30update tools and other miscellaneous things to new APIsAndrew Kelley
2025-08-30upgrade more old API usesAndrew Kelley
2025-08-30rework std.Io.Writer.Allocating to support runtime-known alignmentAndrew Kelley
Also, breaking API changes to: * std.fs.Dir.readFileAlloc * std.fs.Dir.readFileAllocOptions
2025-08-30test: disable some varargs behavior tests on RISC-V due to LLVM 21 regressionAlex Rønne Petersen
https://github.com/ziglang/zig/issues/25064
2025-08-30test: use -Wno-unterminated-string-initialization for cbe testsAlex Rønne Petersen
https://github.com/llvm/llvm-project/issues/153314
2025-08-30test: re-enable a bunch of vector behavior tests on hexagonAlex Rønne Petersen
2025-08-30test: use long calls for hexagon-linux module testsAlex Rønne Petersen
2025-08-30test: expand C ABI test coverage to hexagon-linux-muslAlex Rønne Petersen
2025-08-30std.posix.test: fix mmap() test to use actual page size instead of 4096Alex Rønne Petersen
2025-08-30std.hash.xxhash: disable xxhash3 test on all mips64 targetsAlex Rønne Petersen
See also dd1de18f9629904b5d97d5791a47244ac63385da. https://github.com/ziglang/zig/issues/23807
2025-08-30std: skip some failing tests on hexagonAlex Rønne Petersen
2025-08-30std.Thread: make unreachable errors in sleep() clearerAlex Rønne Petersen
2025-08-30Revert "llvm: workaround crashes in llvm loop optimizations"Alex Rønne Petersen
This reverts commit b4fd57a9c114748afb9ba0a04bede61089a02ddf. https://github.com/llvm/llvm-project/pull/149743
2025-08-30compiler: remove medium code model workaround for loongarch64Alex Rønne Petersen
The default was changed in LLVM 21.
2025-08-30llvm: switch to native f16 IR type for all hexagon targetsAlex Rønne Petersen
This was fixed in LLVM 21, in particular for targets older than v68.
2025-08-30llvm: remove f16 special case for soft float aarch64Alex Rønne Petersen
2025-08-30llvm: switch to native f128 IR type for nvptxAlex Rønne Petersen
LLVM 21 added support for this.
2025-08-30llvm: switch to native f16 IR type for s390xAlex Rønne Petersen
LLVM 21 added support for this.
2025-08-30compiler-rt: use native f16 type for loongarchAlex Rønne Petersen
This ABI changed in LLVM 21.
2025-08-30compiler-rt: move strlen from libzigc to hereAlex Rønne Petersen
LLVM 21 has started recognizing strlen-like idioms and optimizing them to strlen calls, so we need this function provided in compiler-rt for libc-less compilations.
2025-08-30musl: replace .data.rel.ro with .section .data.rel.ro,"aw"Alex Rønne Petersen
The former was an LLVM extension that appears to have been removed in LLVM 21. I won't bother fixing gen_stubs.zig; see #23881.
2025-08-30llvm: update data layout strings for LLVM 21Alex Rønne Petersen
2025-08-30zig cc: pass -mthumb to the assembler as necessaryAlex Rønne Petersen
2025-08-30zig cc: pass CPU features to Clang using the new -Xclangas when assemblingAlex Rønne Petersen
Unfortunately, we cannot yet remove the special-casing for RISC-V CPU features, so that code stays. Closes #10411.
2025-08-30zig cc: update options data to LLVM 21Alex Rønne Petersen
2025-08-30std.zig.system: update aarch64 and powerpc cpu detection for LLVM 21Alex Rønne Petersen
2025-08-30std.Target: fix alignment for int/long types on m68kAlex Rønne Petersen
2025-08-30std.Target: add managarm OS tagAlex Rønne Petersen
2025-08-30std.Target: make ultrasparc3 the baseline for sparc64-solarisAlex Rønne Petersen
https://github.com/llvm/llvm-project/pull/149990
2025-08-30std.Target.x86: purge avx10.n-256, rename avx10.n_512 to avx10.n, require ↵Alex Rønne Petersen
evex512 for avx512f Intel has abandoned AVX10.N/128,256; AVX10.N is now always 512-bit.
2025-08-30std.Target: bump feature bit count from 288 to 317Alex Rønne Petersen
/lib/std/debug.zig:559:14: error: reached unreachable code if (!ok) unreachable; // assertion failure ^~~~~~~~~~~ /lib/std/Target/riscv.zig:335:21: note: called at comptime here std.debug.assert(len <= CpuFeature.Set.needed_bit_count); ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2025-08-30std.Target: update CPU features to LLVM 21Alex Rønne Petersen
2025-08-30update_cpu_features: bump branch quota for amdgcnAlex Rønne Petersen
/lib/std/Target/amdgcn.zig:1656:5: error: evaluation exceeded 1000 backwards branches for (&result, 0..) |*elem, i| { ^~~
2025-08-30update_cpu_features: fix a fmtId call to be fmtIdPUAlex Rønne Petersen
2025-08-30compiler: respond to API changes in LLVM 21Alex Rønne Petersen
2025-08-30libtsan: update to LLVM 21Alex Rønne Petersen