aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2025-09-22Merge pull request #25324 from alexrp/freebsdAlex Rønne Petersen
Some changes to prepare for FreeBSD CI
2025-09-22ci: stop building FreeBSD module tests on x86_64-linuxAlex Rønne Petersen
They're now built on the x86_64-freebsd machine.
2025-09-22ci: add x86_64-freebsd scriptsalexrp
2025-09-22test: disable some stack trace tests on FreeBSDalexrp
2025-09-22test: disable test-link on FreeBSDalexrp
https://github.com/ziglang/zig/issues/25323
2025-09-22std.posix: remove bogus assert that SIGRTMAX < NSIGalexrp
2025-09-22compiler: don't use self-hosted backend on any BSD yetalexrp
There are some blocking bugs in the self-hosted ELF linker.
2025-09-21Elf2: create a new linker from scratchJacob Young
This iteration already has significantly better incremental support. Closes #24110
2025-09-21CI: stop testing x86_64-macosAndrew Kelley
There are two reasons for this: 1. Apple is about to drop support for this target. Zig will keep support but move it to a lower tier - one that does not require continuous CI testing. Support for this target will be maintained by the enthusiasm of contributors but will not block other bug fixes and enhancements. 2. This is our only non-self-hosted action runner. We are migrating away from GitHub soon at which point this runner will no longer be available.
2025-09-21ci: temporarily disable riscv64-linuxAlex Rønne Petersen
GitHub sucks: Sep 20 20:49:21 ganymede runsvc.sh[82817]: An error occured: Runner version v2.326.0 is deprecated and cannot receive messages. Sep 20 20:49:21 ganymede runsvc.sh[82817]: Runner listener exited with error code 1 Sep 20 20:49:21 ganymede runsvc.sh[82817]: Runner listener exit with terminated error, stop the service, no retry needed.
2025-09-21aarch64/zonCast: don't return a pointer to a stack elementFrank Denis
Elements are computed at comptime, so don't declare them as "var".
2025-09-21Merge pull request #25302 from ziglang/growCapacityAndrew Kelley
std: remove loop from growCapacity
2025-09-21Merge pull request #25154 from ziglang/no-decl-val-3Andrew Kelley
rework byval ZIR instructions; forbid runtime vector indexes
2025-09-20add behavior test: comptime C pointer to optional pointerAndrew Kelley
2025-09-20add behavior test: avoid unused field function body compile errorAndrew Kelley
2025-09-20add behavior test: resist alias of explicit copy...Andrew Kelley
...of array passed as arg closes #22906
2025-09-20allow some test cases to regressAndrew Kelley
tracked by #24061 - these should be re-enabled once that is solved.
2025-09-20fix rebase errormlugg
2025-09-20Revert "frontend: another packedStructFieldPtrInfo fix"mlugg
This reverts commit dedccecda944f88a5278c12c24ffbea46126de63.
2025-09-20standalone: fix misaligned stack crashJacob Young
2025-09-20aarch64: fix behavior failuresJacob Young
2025-09-20x86_64: rewrite vector element pointer accessJacob Young
2025-09-20disable failing stage2_aarch64 behavior testsAndrew Kelley
2025-09-20frontend: another packedStructFieldPtrInfo fixAndrew Kelley
it was calculating host integer size in a wrong way. just use integer abi size
2025-09-20cases: update for new errormlugg
The latest bugfix reverted this case to its old behavior (which is a reasonable behavior to have).
2025-09-20Revert "delete failing test case"mlugg
This reverts commit ba4d4602ab9bb0dc17fc0d57141d9324bdbb356d.
2025-09-20Zcu: fix analysis of type of decl with inferred typemlugg
If the `nav_ty` is resolved by the `nav_val`, then we need to also mark the `nav_ty` as in progress when we begin resolving the `nav_val`.
2025-09-20langref: don't assume too much about pointer to packed struct fieldAndrew Kelley
2025-09-20Sema: add missed logic to checkPtrAttributesAndrew Kelley
It wasn't checking bit pointer data.
2025-09-20delete failing test caseAndrew Kelley
Matthew can revert this commit when he's ready to tackle the assertion failure
2025-09-20x86_64: fix safety crashes in `storeRegs`Jacob Young
2025-09-20frontend: packed struct field ptr no longer finds byte bordersAndrew Kelley
technically breaking, but I doubt anyone will notice.
2025-09-20disable wasm backend coverageAndrew Kelley
Disabled due to no active maintainer (feel free to fix the failures and then re-enable at any time). The failures occur due to backend miscompilation of different AIR from the frontend.
2025-09-20disable spirv64-vulkan coverageAndrew Kelley
Disabled due to no active maintainer (feel free to fix the failures and then re-enable at any time). The failures occur due to changing AIR from the frontend, and backend being incomplete.
2025-09-20Sema: avoid ptr_add/ptr_sub instructions void elem typeAndrew Kelley
2025-09-20add compile error coverage for dependency loopAndrew Kelley
2025-09-20frontend: additionally handle C pointers in ptrOptPayloadAndrew Kelley
2025-09-20aarch64: enable fixed behaviorJacob Young
2025-09-20translate-c: remove cases associated with runtime vector indexingAndrew Kelley
C translation is in the process of switching to be aro-based (see #24497) That codebase will need to gain some kind of helper for translating C code that uses runtime vector indexing.
2025-09-20frontend: fix too strict assertionAndrew Kelley
field ptr can be based on C pointer
2025-09-20aarch64: implement `ptr_slice_*_ptr`Jacob Young
2025-09-20coerce vectors to arrays rather than inline forAndrew Kelley
2025-09-20Sema: fix YAGNI violationAndrew Kelley
2025-09-20Sema: more conservative elem_ptr_load implementationAndrew Kelley
like field_ptr_load, this now does byval operations when the lhs is comptime-known.
2025-09-20frontend: replace elem_val_node with elem_ptr_loadAndrew Kelley
avoids unnecessary copies
2025-09-20std.Progress: avoid problematic catch syntaxAndrew Kelley
2025-09-20frontend: replace field_val and field_val_namedAndrew Kelley
with field_ptr_load and field_ptr_named_load. These avoid doing by-val load operations for structs that are runtime-known while keeping the previous semantics for comptime-known values.
2025-09-20Sema: fix source location of "declared here" noteAndrew Kelley
point at the var not at the init expression
2025-09-20x86 codegen: handle spilled tuplesAndrew Kelley
2025-09-20std.zon.parse: fix not initializing array sentinelAndrew Kelley