Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
a1827d5
x86_64: fix abi of a struct that partially fits in registers
jacobly0 Nov 26, 2025
854774d
http.requestHasBody: a PUT response can have a body
jedisct1 Nov 26, 2025
ca96d85
std.crypto: add hybrid post-quantum/traditional key encapsulation
jedisct1 Nov 27, 2025
e427ba9
std.sort.partitionPoint: faster implementation (#30005)
Nov 27, 2025
7af412b
Update std.zig.system.NativePaths.detect to support some more flags o…
IamSanjid Sep 1, 2024
fbafbd4
ci: pin actions/checkout to current ziglang/checkout@HEAD
alexrp Nov 27, 2025
e6d19a0
Merge pull request 'std.crypto: add hybrid post-quantum/traditional k…
Nov 28, 2025
e19c61a
issue templates: use anchors in URLs
andrewrk Nov 28, 2025
7137167
README: github -> codeberg for some links
alexrp Nov 28, 2025
a8f9b5d
ci: apply workaround for #22213 to x86_64-linux scripts
alexrp Nov 28, 2025
a382203
Revert "ci: apply workaround for #22213 to x86_64-linux scripts"
alexrp Nov 28, 2025
e52232c
print_zir: fix typo
mlugg Nov 29, 2025
8f5db19
Sema: initialize OPV comptime allocs correctly
mlugg Nov 29, 2025
7d9ad99
issue templates: update issue labels to match the actual org labels
alexrp Nov 29, 2025
5e00a0c
std.crypto.aes: expose the inverse MixColumns operation
jedisct1 Nov 29, 2025
a0289d0
std.posix.accept: handle non-listening socket EINVAL
mrdimidium Nov 18, 2025
44e99ed
Merge pull request 'Sema: initialize OPV comptime allocs correctly' (…
Nov 29, 2025
bfe3317
Return a `usize` from `@abs` if given an `isize`
FnControlOption Apr 16, 2025
1d1e2b7
Merge pull request 'std.crypto.aes: expose the inverse MixColumns ope…
Dec 1, 2025
95f93a0
std.zig.Ast: count addrspace tokens correctly
Dec 1, 2025
29e418c
std.Io.Threaded: fix the cancellation race
andrewrk Nov 27, 2025
d60760d
std.Io.Threaded: tune requestCancel
andrewrk Nov 29, 2025
39ac402
std.Io.Threaded: use musl's beautiful pthread_cancel semantics
andrewrk Nov 29, 2025
9e981c3
std.os.linux: delete unnecessary `@compileError`
andrewrk Nov 29, 2025
1442068
std.Io.Threaded: fix compilation for riscv32-linux
andrewrk Nov 29, 2025
de87bad
std.Io.Threaded: don't solve the cancel race after all
andrewrk Nov 29, 2025
c4f5dda
std.Io.Threaded: re-introduce retry logic behind config
andrewrk Nov 29, 2025
85053a6
link.Elf: implement aarch64 relocation
Rexicon226 Nov 30, 2025
103467f
std.Io.Threaded: make is_musl linux-only
andrewrk Dec 1, 2025
57f5de5
std.Io.Threaded: use the correct mmsghdr struct
andrewrk Dec 1, 2025
54a8496
std.os.linux: SIG enum is non-exhaustive
andrewrk Dec 2, 2025
bf0ffc4
std.Io.Threaded: musl: handle ECANCELED same as EINTR
andrewrk Dec 2, 2025
cf82064
std.Io.Threaded: don't use pthread_cancel with musl
andrewrk Dec 2, 2025
bb3f56d
std.Io.Threaded: separate out ECANCELED handling again
andrewrk Dec 2, 2025
52ad126
Merge pull request 'std.Io.Threaded: rework cancellation' (#30033) fr…
Dec 2, 2025
6fe95c2
Argon2: use the std.Io interface
jedisct1 Dec 2, 2025
be9649f
ci: set a sensible maxrss in x86_64-windows scripts
alexrp Dec 2, 2025
cb115cf
std.process.ArgIteratorWasi: fix no-args deinit
zihadmahiuddin Dec 2, 2025
d73fbcc
Merge pull request 'Argon2: use the std.Io interface' (#30084) from j…
Dec 3, 2025
ad9a518
build: add some missing darwin tags
alexrp Dec 3, 2025
e2a9e56
build: add -Dskip-spirv and -Dskip-wasm options
alexrp Nov 28, 2025
c21ce53
ci: skip spirv and wasm tests on x86_64-freebsd
alexrp Nov 28, 2025
e270c97
ci: don't skip release mode tests on x86_64-windows-debug
alexrp Dec 3, 2025
9eed87f
std.process.Child: enable rusage collection for freebsd, illumos, ser…
alexrp Dec 3, 2025
2659fad
std.c: add rusage for dragonfly, netbsd, openbsd
alexrp Dec 3, 2025
4454380
std.process.Child: enable rusage collection for dragonfly, netbsd, op…
alexrp Dec 3, 2025
2728eb5
build: adjust max_rss on a per-CI-host basis
alexrp Dec 3, 2025
78cba86
ci: set maxrss from $ZSF_MAX_RSS if provided by the runner
alexrp Dec 3, 2025
c166bb3
ci: reduce x86_64-linux timeouts
alexrp Dec 4, 2025
58e3c2c
make Io.net.sendMany compile
kristoff-it Dec 5, 2025
adc5a39
Change github links to codeberg
lunagl Dec 2, 2025
032e3c9
std.Io.Timestamp: when creating a Clock.Timestamp actually set .raw i…
AidanWelch Dec 2, 2025
ea94ac5
std.debug: skip `manage resources correctly` with cbe
mlugg Dec 5, 2025
4ce7b57
std.heap: rework `c_allocator`
mlugg Dec 4, 2025
1e61609
build: bump test-zigc max_rss to 767_483_904 on x86_64-linux
alexrp Dec 6, 2025
9abf055
Linux: Update `Statx` structure
The-King-of-Toasters Oct 17, 2025
2023f02
Linux: Nuke `Stat` bits in favour of statx
The-King-of-Toasters Oct 19, 2025
f4f268b
Linux: Dedupe generic decls
The-King-of-Toasters Oct 19, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .forgejo/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Bug Report
description: File a bug report
labels: ["kind/bug"]
labels: ["bug"]
body:
- type: markdown
attributes:
Expand Down
4 changes: 2 additions & 2 deletions .forgejo/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
contact_links:
- name: Language Proposal
about: "Please do not submit a proposal to change the language"
url: https://ziglang.org/code-of-conduct
url: https://ziglang.org/code-of-conduct/#no-language-proposals
- name: Question
about: "Please use one of the community spaces instead for questions or general discussions."
url: https://ziglang.org/community
Expand All @@ -10,4 +10,4 @@ contact_links:
url: https://codeberg.org/ziglang/translate-c
- name: Copilot and Other LLMs
about: "Please do not use GitHub Copilot or any other LLM to write an issue."
url: https://ziglang.org/code-of-conduct
url: https://ziglang.org/code-of-conduct/#strict-no-llm-no-ai-policy
2 changes: 1 addition & 1 deletion .forgejo/ISSUE_TEMPLATE/error_message.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Error message improvement
description: Compiler produces an unhelpful or misleading error message.
labels: ["kind/error message"]
labels: ["error message"]
body:
- type: input
id: version
Expand Down
40 changes: 20 additions & 20 deletions .forgejo/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
runs-on: [self-hosted, aarch64-linux]
steps:
- name: Checkout
uses: actions/checkout@v4
uses: https://codeberg.org/ziglang/checkout@19af6bac491e2534a4687a50ee84fa7f13258d28
with:
fetch-depth: 0
- name: Build and Test
Expand All @@ -29,7 +29,7 @@ jobs:
runs-on: [self-hosted, aarch64-linux]
steps:
- name: Checkout
uses: actions/checkout@v4
uses: https://codeberg.org/ziglang/checkout@19af6bac491e2534a4687a50ee84fa7f13258d28
with:
fetch-depth: 0
- name: Build and Test
Expand All @@ -40,7 +40,7 @@ jobs:
runs-on: [self-hosted, aarch64-macos]
steps:
- name: Checkout
uses: actions/checkout@v4
uses: https://codeberg.org/ziglang/checkout@19af6bac491e2534a4687a50ee84fa7f13258d28
with:
fetch-depth: 0
- name: Build and Test
Expand All @@ -50,7 +50,7 @@ jobs:
runs-on: [self-hosted, aarch64-macos]
steps:
- name: Checkout
uses: actions/checkout@v4
uses: https://codeberg.org/ziglang/checkout@19af6bac491e2534a4687a50ee84fa7f13258d28
with:
fetch-depth: 0
- name: Build and Test
Expand All @@ -61,7 +61,7 @@ jobs:
runs-on: [self-hosted, loongarch64-linux]
steps:
- name: Checkout
uses: actions/checkout@v4
uses: https://codeberg.org/ziglang/checkout@19af6bac491e2534a4687a50ee84fa7f13258d28
with:
fetch-depth: 0
- name: Build and Test
Expand All @@ -71,7 +71,7 @@ jobs:
runs-on: [self-hosted, loongarch64-linux]
steps:
- name: Checkout
uses: actions/checkout@v4
uses: https://codeberg.org/ziglang/checkout@19af6bac491e2534a4687a50ee84fa7f13258d28
with:
fetch-depth: 0
- name: Build and Test
Expand All @@ -83,7 +83,7 @@ jobs:
runs-on: [self-hosted, riscv64-linux]
steps:
- name: Checkout
uses: actions/checkout@v4
uses: https://codeberg.org/ziglang/checkout@19af6bac491e2534a4687a50ee84fa7f13258d28
with:
fetch-depth: 0
- name: Build and Test
Expand All @@ -94,7 +94,7 @@ jobs:
runs-on: [self-hosted, riscv64-linux]
steps:
- name: Checkout
uses: actions/checkout@v4
uses: https://codeberg.org/ziglang/checkout@19af6bac491e2534a4687a50ee84fa7f13258d28
with:
fetch-depth: 0
- name: Build and Test
Expand All @@ -105,7 +105,7 @@ jobs:
runs-on: [self-hosted, s390x-linux]
steps:
- name: Checkout
uses: actions/checkout@v4
uses: https://codeberg.org/ziglang/checkout@19af6bac491e2534a4687a50ee84fa7f13258d28
with:
fetch-depth: 0
- name: Build and Test
Expand All @@ -115,7 +115,7 @@ jobs:
runs-on: [self-hosted, s390x-linux]
steps:
- name: Checkout
uses: actions/checkout@v4
uses: https://codeberg.org/ziglang/checkout@19af6bac491e2534a4687a50ee84fa7f13258d28
with:
fetch-depth: 0
- name: Build and Test
Expand All @@ -126,7 +126,7 @@ jobs:
runs-on: [self-hosted, x86_64-freebsd]
steps:
- name: Checkout
uses: actions/checkout@v4
uses: https://codeberg.org/ziglang/checkout@19af6bac491e2534a4687a50ee84fa7f13258d28
with:
fetch-depth: 0
- name: Build and Test
Expand All @@ -136,7 +136,7 @@ jobs:
runs-on: [self-hosted, x86_64-freebsd]
steps:
- name: Checkout
uses: actions/checkout@v4
uses: https://codeberg.org/ziglang/checkout@19af6bac491e2534a4687a50ee84fa7f13258d28
with:
fetch-depth: 0
- name: Build and Test
Expand All @@ -147,38 +147,38 @@ jobs:
runs-on: [self-hosted, x86_64-linux]
steps:
- name: Checkout
uses: actions/checkout@v4
uses: https://codeberg.org/ziglang/checkout@19af6bac491e2534a4687a50ee84fa7f13258d28
with:
fetch-depth: 0
- name: Build and Test
run: sh ci/x86_64-linux-debug.sh
timeout-minutes: 240
timeout-minutes: 180
x86_64-linux-debug-llvm:
runs-on: [self-hosted, x86_64-linux]
steps:
- name: Checkout
uses: actions/checkout@v4
uses: https://codeberg.org/ziglang/checkout@19af6bac491e2534a4687a50ee84fa7f13258d28
with:
fetch-depth: 0
- name: Build and Test
run: sh ci/x86_64-linux-debug-llvm.sh
timeout-minutes: 480
timeout-minutes: 360
x86_64-linux-release:
runs-on: [self-hosted, x86_64-linux]
steps:
- name: Checkout
uses: actions/checkout@v4
uses: https://codeberg.org/ziglang/checkout@19af6bac491e2534a4687a50ee84fa7f13258d28
with:
fetch-depth: 0
- name: Build and Test
run: sh ci/x86_64-linux-release.sh
timeout-minutes: 480
timeout-minutes: 360

x86_64-windows-debug:
runs-on: [self-hosted, x86_64-windows]
steps:
- name: Checkout
uses: actions/checkout@v4
uses: https://codeberg.org/ziglang/checkout@19af6bac491e2534a4687a50ee84fa7f13258d28
with:
fetch-depth: 0
- name: Build and Test
Expand All @@ -188,7 +188,7 @@ jobs:
runs-on: [self-hosted, x86_64-windows]
steps:
- name: Checkout
uses: actions/checkout@v4
uses: https://codeberg.org/ziglang/checkout@19af6bac491e2534a4687a50ee84fa7f13258d28
with:
fetch-depth: 0
- name: Build and Test
Expand Down
18 changes: 8 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ while your Zig build has the option to be a Debug build. It also works
completely independently from MSVC so you don't need it to be installed.

Determine the URL by
[looking at the CI script](https://github.com/ziglang/zig/blob/master/ci/x86_64-windows-debug.ps1#L1-L4).
[looking at the CI script](https://codeberg.org/ziglang/zig/src/branch/master/ci/x86_64-windows-debug.ps1#L1-L4).
It will look something like this (replace `$VERSION` with the one you see by
following the above link):

Expand Down Expand Up @@ -485,16 +485,14 @@ interpret your words.
### Find a Contributor Friendly Issue

The issue label
[Contributor Friendly](https://github.com/ziglang/zig/issues?q=is%3Aissue+is%3Aopen+label%3A%22contributor+friendly%22)
[Contributor Friendly](https://codeberg.org/ziglang/zig/issues?labels=741726&state=open)
exists to help you find issues that are **limited in scope and/or
knowledge of Zig internals.**

Please note that issues labeled
[Proposal](https://github.com/ziglang/zig/issues?q=is%3Aissue+is%3Aopen+label%3Aproposal)
but do not also have the
[Accepted](https://github.com/ziglang/zig/issues?q=is%3Aissue+is%3Aopen+label%3Aaccepted)
label are still under consideration, and efforts to implement such a proposal
have a high risk of being wasted. If you are interested in a proposal which is
[Proposal: Proposed](https://codeberg.org/ziglang/zig/issues?labels=746937&state=open)
are still under consideration, and efforts to implement such a proposal have
a high risk of being wasted. If you are interested in a proposal which is
still under consideration, please express your interest in the issue tracker,
providing extra insights and considerations that others have not yet expressed.
The most highly regarded argument in such a discussion is a real world use case.
Expand Down Expand Up @@ -665,11 +663,11 @@ based on Clang, but is now based on Aro:

Test coverage as well as bug reports have been moved to this repository:

[ziglang/translate-c](https://github.com/ziglang/translate-c/)
[ziglang/translate-c](https://codeberg.org/ziglang/translate-c/)

In the future, [@cImport will move to the build system](https://github.com/ziglang/zig/issues/20630),
but for now, the translate-c logic is copy-pasted from that project into
[ziglang/zig](https://github.com/ziglang/zig/), powering both `zig translate-c`
[ziglang/zig](https://codeberg.org/ziglang/zig/), powering both `zig translate-c`
and `@cImport`.

Please see the readme of the translate-c project for how to contribute. Once an
Expand Down Expand Up @@ -777,7 +775,7 @@ If you will be debugging the Zig compiler itself, or if you will be debugging
any project compiled with Zig's LLVM backend (not recommended with the LLDB
fork, prefer vanilla LLDB with a version that matches the version of LLVM that
Zig is using), you can get a better debugging experience by using
[`lldb_pretty_printers.py`](https://github.com/ziglang/zig/blob/master/tools/lldb_pretty_printers.py).
[`lldb_pretty_printers.py`](https://codeberg.org/ziglang/zig/src/branch/master/tools/lldb_pretty_printers.py).

Put this line in `~/.lldbinit`:

Expand Down
Loading