Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
638 commits
Select commit Hold shift + click to select a range
96ba0ab
fix lockStderr API calls in test_runner fuzz code
PeterMcKinnis Dec 30, 2025
e956948
std: remove fs.getAppDataDir with no replacement
andrewrk Dec 30, 2025
9d497d0
Update posix.getRandomBytesDevURandom to use linux.statx
steeve Dec 30, 2025
4ad8bc3
Make Io.Mutex an extern struct
ben-krieger Dec 31, 2025
814b1e9
libc: remove `fmod`, `fmodf` and `fmodl`
Jan 1, 2026
eab93d3
libc: remove `log`/f, `log2`/f and `log10`/f
Jan 1, 2026
2bd0288
git.zig: Process data packets of all lengths, discarding unrecognized…
rcalixte Dec 31, 2025
1baa127
crypto.edwards25519: optimize rejectLowOrder
jedisct1 Jan 1, 2026
0c5f879
Fix: tryFindProgram fails when $PATH contains relative paths (#30619)
hixuyuming Jan 2, 2026
53ebfde
std: use decl literals to improve endian ergonomics
nektro Jan 2, 2026
4cee1f7
Forgo `const` qualifiers on `register` locals generated by asm (#30645)
Jan 2, 2026
1bf2975
Merge pull request 'crypto.edwards25519: optimize rejectLowOrder' (#3…
Jan 2, 2026
c9fa8e4
Use `mmap` `std.heap.page_allocator` impl when compiling for Wasm + libc
castholm Nov 7, 2025
d024d9f
std.Build: crashes in the test runner are fatal errors
mlugg Jan 3, 2026
0422619
Revert "Use `mmap` `std.heap.page_allocator` impl when compiling for …
mlugg Jan 3, 2026
0da5d5f
std.Io.Threaded: rework cancelation and groups
mlugg Dec 23, 2025
a1d4120
std.Io.Threaded: update to new internal syscall API
mlugg Dec 29, 2025
e57c557
std.Io.Threaded: hugely improve Windows and NetBSD support
mlugg Dec 30, 2025
f27134d
std.Io: more tests
mlugg Dec 30, 2025
2c395e3
std.Io.Threaded: always use robust cancelation
mlugg Dec 30, 2025
b8a09bc
std.Io.Group: tweak documentation and vtable API
mlugg Dec 30, 2025
f306a9f
std: rebase fixups and cancelation changes
mlugg Dec 31, 2025
3bb2f7b
std.Io.net: don't swallow 'error.Canceled'
mlugg Dec 31, 2025
f7f0b9d
std.http.test: fix memory leaks on OOM
mlugg Jan 2, 2026
b3c4984
codegen.wasm: fix 64-bit saturating shl
mlugg Jan 2, 2026
4de3357
incr-check: make sure to always show the target
mlugg Jan 2, 2026
8226d70
Merge pull request 'std.Io.Threaded: performance enhancements, bugfix…
Jan 3, 2026
a0a982f
std.crypto.kangarootwelve: disable flaky test
andrewrk Jan 4, 2026
0cbaaa5
std.Thread: stop clobbering syscall args
mlugg Jan 3, 2026
86a9a90
`std.MultiArrayList`: add `*Bounded` variants and `initCapacity`
IOKG04 Jan 3, 2026
d6a1e73
std: start wrangling environment variables and process args
andrewrk Dec 29, 2025
32af0f6
std: move child process APIs to std.Io
andrewrk Dec 31, 2025
b85524d
std.process.Environ: fix contains function
andrewrk Dec 31, 2025
42988fc
std.process.Environ.Block: enhance type safety
andrewrk Dec 31, 2025
384bfc5
std.Progress: go through Io interface for parent IPC mechanism
andrewrk Dec 31, 2025
3e6d615
std.process.Environ: fix compile errors on POSIX
andrewrk Dec 31, 2025
69d0747
std lib tests passing on linux
andrewrk Jan 1, 2026
f612464
compiler: delete DarwinPosixSpawn
andrewrk Jan 1, 2026
de8c4cd
compiler: update to new std.process APIs
andrewrk Jan 1, 2026
9009ab2
std.Io.Threaded: make environ init non-optional
andrewrk Jan 1, 2026
f9585ad
update tests and tools to new main API
andrewrk Jan 1, 2026
b64491f
compiler_rt: ensure no std.Io used when not testing
andrewrk Jan 1, 2026
08447ca
std.fs.path: make relative a pure function
andrewrk Jan 1, 2026
60447ea
std: fix windows compilation errors
andrewrk Jan 2, 2026
0362d9f
start: make leaks into warnings
andrewrk Jan 2, 2026
50e185b
start: tweak allocator choice
andrewrk Jan 2, 2026
1ccc873
std: fixes for WASI
andrewrk Jan 2, 2026
a6f519c
std.process.Args: make toSlice require arena allocation
andrewrk Jan 2, 2026
960c512
compiler: update std lib API usage
andrewrk Jan 2, 2026
f28802a
zig libc: fix subcommand
andrewrk Jan 2, 2026
85fe35d
compiler: fix -Denable-llvm compilation failures
andrewrk Jan 2, 2026
0ca83dd
start: fix compilation with -lc on windows
andrewrk Jan 2, 2026
f2cf7b5
std.Io.Threaded: fix the child process error fd mechanism
andrewrk Jan 2, 2026
1b56686
test-standalone: update cases to new main API
andrewrk Jan 2, 2026
bf74827
test-standalone: update more cases to new main API
andrewrk Jan 3, 2026
ca5c5ad
std.Options: work around not lazy enough compiler
andrewrk Jan 3, 2026
af164b3
std.Build.Step.Run: no need to sort the environment
andrewrk Jan 3, 2026
e149c0e
std.Build.Step.Run: fix wrong environment passed
andrewrk Jan 3, 2026
4afed3e
test-standalone: update the rest of the cases to new API
andrewrk Jan 3, 2026
77087f6
langref: update to new main API
andrewrk Jan 3, 2026
d97e4ca
documentation should be descriptive not prescriptive
andrewrk Jan 3, 2026
c6b75b6
std: fix child processes on riscv32-linux
andrewrk Jan 3, 2026
17c7a33
incr-check: update to new APIs
andrewrk Jan 3, 2026
f25de4c
fix native path lookup on macOS
andrewrk Jan 3, 2026
1070c2a
rename env_map to environ_map
andrewrk Jan 3, 2026
b32a38a
build: fix file system watching compilation on macOS
andrewrk Jan 3, 2026
84da158
test-stack-traces: update to new main API
andrewrk Jan 3, 2026
08cc9e8
std.Io.Threaded: std.process -> process
andrewrk Jan 3, 2026
baa49e5
std.Io.Threaded: implement processReplace
andrewrk Jan 3, 2026
e55fa3d
fix two standalone tests on windows
andrewrk Jan 3, 2026
dd7be75
std.process: add missing error.OperationUnsupported
andrewrk Jan 3, 2026
88dd682
Compilation: revert bad code transformation
andrewrk Jan 3, 2026
0b856d1
build: remove freebsd max_rss special casing
andrewrk Jan 3, 2026
2fee64c
update init template for new main API
andrewrk Jan 3, 2026
e2c04a4
fix some windows compilation errors
andrewrk Jan 3, 2026
e23d980
std.process.Environ: skip BE createMapWide test coverage
andrewrk Jan 3, 2026
e19c686
build: bump max_rss for zig
andrewrk Jan 3, 2026
5b9e6a2
compiler: fix wasi compilation
andrewrk Jan 3, 2026
ff67f70
start: tweak default allocator choices
andrewrk Jan 3, 2026
be977e1
std.Io.Threaded: integrate with new cancel mechanism
andrewrk Jan 3, 2026
2b326d2
std.Io.Threaded: improve various Windows logic
andrewrk Jan 4, 2026
0317e95
std.posix: delete some mkdir functions
andrewrk Jan 4, 2026
f072313
std.Io.Threaded: delete dead comment
andrewrk Jan 4, 2026
08d8b41
std.Io.Threaded: more robust windows process creation error handling
andrewrk Jan 4, 2026
2c22c3d
std.Io.Threaded: make processReplace cancelable
andrewrk Jan 4, 2026
fa315b1
std.Io.Threaded: improve posix process creation
andrewrk Jan 4, 2026
854c076
std.Io.Threaded: improve posix spawning
andrewrk Jan 4, 2026
9eb3b54
std.Io.Threaded: revert making reading fork child status cancelable
andrewrk Jan 4, 2026
420a9ae
build: bump freebsd max_rss
andrewrk Jan 4, 2026
ef1ddbe
std.heap.DebugAllocator: disable already flaky test
andrewrk Jan 4, 2026
de25a6f
Merge pull request 'std: delete `os.environ`, `os.argv`, add new para…
Jan 4, 2026
e3b7cad
std.heap.DebugAllocator: disable already flaky test
andrewrk Jan 4, 2026
8109766
compiler_rt: fix exp, exp2, log, log10 and log2
Jan 4, 2026
b4dbe48
std.Build: adjust temp files API
andrewrk Jan 5, 2026
c8ecfad
build runner: clean up tmp dirs
andrewrk Jan 5, 2026
8e09104
std.Io.Threaded: fix Windows env var mapping
Jan 5, 2026
435cd6f
Merge pull request 'std.Build: adjust temp files API' (#30683) from s…
Jan 5, 2026
8669898
disable flaky test: aarch64-macos stage3/4 nondeterminism check
andrewrk Jan 5, 2026
ac64c75
Dwarf: implement pointers to more comptime values
jacobly0 Jan 3, 2026
29b9e24
add tls.ExtensionType.quic_transport_parameters = 57
GrayHatter Dec 27, 2025
31a6e83
openbsd: fix Io.Threaded bitrot
mikdusan Jan 4, 2026
bbacf42
std.Io.test: disable flaky Group.concurrent test on linux w/o libc
alexrp Jan 5, 2026
ccc7825
std.Io.test: disable flaky recancel test on linux w/o libc
alexrp Jan 5, 2026
962903e
ci: bump riscv64-linux timeouts by 2 hours
alexrp Jan 5, 2026
834ac81
process_headers: add openbsd support
alexrp Nov 30, 2025
66d9726
libc: add openbsd 7.8 headers
alexrp Nov 30, 2025
de13923
libc: add openbsd 7.8 abilists
alexrp Nov 30, 2025
32b2501
std.Target: add isOpenBSDLibC()
alexrp Nov 30, 2025
39bb452
std.Target: factor arch/abi into openbsd minimum version logic
alexrp Nov 30, 2025
504de5c
std.Target: bump baseline openbsd version from 7.7 to 7.8
alexrp Nov 30, 2025
395145d
std.zig.LibCDirs: add openbsd support
alexrp Nov 30, 2025
2c42b85
std.zig.target: handle openbsd libc names
alexrp Nov 30, 2025
9f16886
compiler: define ___OpenBSD and OpenBSDX_Y when targeting openbsd libc
alexrp Nov 30, 2025
4d3a847
libc: add openbsd libc startup code for 7.8
alexrp Nov 30, 2025
faa485e
ci: build stage4 and run behavior tests with it on x86_64-linux-debug…
alexrp Dec 13, 2025
6f2e7af
ci: build stage4 and run behavior tests with it on aarch64-macos-debug
alexrp Dec 13, 2025
50422d5
Merge pull request 'libc: remove most symbols already present in comp…
alexrp Jan 5, 2026
d0ad76c
update_openbsd_libc: add tool for updating openbsd libc startup code
alexrp Dec 1, 2025
00e6895
compiler: don't error on explicit link_libc=false on requiresLibC() t…
alexrp Dec 1, 2025
a78f891
compiler: support building openbsd crt0 and stub shared libraries
alexrp Dec 1, 2025
25e3489
std.zig.target: add openbsd libc support
alexrp Dec 1, 2025
00dc4d0
test: add openbsd targets to module test matrix
alexrp Dec 1, 2025
b318ee6
ci: pass -Dskip-openbsd on x86_64-freebsd and x86_64-linux-debug(-llvm)
alexrp Dec 1, 2025
52141fe
standalone tests: Delete all ad hoc TmpDir instances, use the build s…
squeek502 Jan 5, 2026
d3d6761
std: depend on NtDll rather than advapi32.dll for entropy
andrewrk Jan 5, 2026
6ab1159
netbsd: use correct symbol for lwp_park
mikdusan Jan 5, 2026
81bfd28
std.Io.Dir: rework atomic file
andrewrk Jan 5, 2026
4365b0d
std.Io.Threaded: add File.hardLink
andrewrk Jan 5, 2026
39605bd
compiler: update to new createFileAtomic API
andrewrk Jan 5, 2026
3859250
std.Io.Threaded: only linux supports fileHardLink
andrewrk Jan 5, 2026
f9a5b34
std.Io.Threaded: fix compilation on s390x, hexagon, or1k, m68k
andrewrk Jan 5, 2026
06130c5
std.Io.Threaded: set O_DIRECTORY along with O_TMPFILE
andrewrk Jan 6, 2026
c906f7d
Merge pull request 'std: rework atomic file / temp file API' (#30686)…
andrewrk Jan 6, 2026
435b841
ci: update to qemu 10.2.0
alexrp Jan 5, 2026
d757d5e
Merge pull request 'some CI script improvements' (#30177) from alexrp…
alexrp Jan 6, 2026
b0da914
std.crypto.argon2: disable flaky phc format hasher test
alexrp Jan 6, 2026
9d08eba
std.crypto.argon2: skip flaky argon2d test
alexrp Jan 6, 2026
1111655
std: block cancelation in default panic and segfault handlers
mlugg Jan 6, 2026
073ef0f
std.Thread: mask all signals before unmapping stack
mlugg Jan 6, 2026
be0a77e
std: re-enable some disabled tests
mlugg Jan 6, 2026
e226df2
Merge pull request 'add OpenBSD libc cross-compilation support' (#300…
alexrp Jan 6, 2026
378b4d3
build: bump max_rss for test-behavior on riscv64-linux to 827_043_430
alexrp Jan 6, 2026
018da96
build: bump max_rss for test-std on riscv64-linux to 4_052_670_054
alexrp Jan 6, 2026
2196241
build: bump max_rss for zig exe to 7_900_000_000
alexrp Jan 6, 2026
312b231
ci: bump riscv64-linux timeouts by a further 2 hours
alexrp Jan 6, 2026
a996a75
compiler: make all Zig-provided libraries use -ffunction-sections -fd…
alexrp Dec 12, 2025
7daf0b6
build: use -ffunction-sections -fdata-sections for the Zig compiler o…
alexrp Dec 12, 2025
6a1fece
build: bump max_rss for test-behavior on powerpc64le-linux to 627_431…
alexrp Jan 5, 2026
64f5ef8
ci: add powerpc64le-linux scripts
alexrp Dec 10, 2025
63eb395
ci: build test stage3 on powerpc64le-linux with long calls
alexrp Jan 5, 2026
43a8e9e
ci: enable powerpc64le-linux
alexrp Dec 11, 2025
b5df539
Merge pull request 'enable `powerpc64le-linux` CI' (#30704) from alex…
alexrp Jan 6, 2026
9c55776
std.crypto: mem.trimLeft -> mem.trimStart
krl Jan 5, 2026
8b71ec6
crypto: correctly disallow non-digits in time
Rexicon226 Jan 5, 2026
c475f1f
Ast: disallow bit alignment on many-item and C pointers
Dec 31, 2025
5e00291
Merge pull request '`@extern`: add support for SPIR-V locations and d…
andrewrk Jan 6, 2026
7647644
std.os.emscripten: make emscripten_run_script_string return optional
ptrstr Jan 6, 2026
6412aeb
compiler: fix build
alexrp Jan 6, 2026
fa625e8
feat(libzigc): add `qsort`
GasInfinity Jan 1, 2026
1bef876
Merge pull request 'std.Thread: mask all signals before unmapping sta…
Jan 7, 2026
28b83e3
compiler: recognize and ignore -rpath-link linker option
alexrp Jan 7, 2026
9db475d
std.fs.test: skip executablePath and openExecutable on OpenBSD
alexrp Jan 7, 2026
bb46709
test: disable an error trace test on optimized x86_64-openbsd
alexrp Jan 7, 2026
4296ed9
test: skip self_exe_symlink on OpenBSD
alexrp Jan 7, 2026
4f8cfcb
test: disable libfuzzer standalone test on OpenBSD
alexrp Jan 7, 2026
7c239b0
ci: add x86_64-openbsd scripts
alexrp Jan 7, 2026
0463862
ci: enable x86_64-openbsd in the workflow
alexrp Jan 7, 2026
cd963ba
Io.Threaded: fix bad assertion
mlugg Jan 7, 2026
867501d
ci: bump loongarch64-linux timeouts by 1 hour
alexrp Jan 7, 2026
816565d
std: move entropy to Io
andrewrk Jan 4, 2026
3bc22db
std.Build.Step.Options: exploit Io.File.Atomic
andrewrk Jan 5, 2026
42ca9e5
std.Build: remove no longer needed workaround
andrewrk Jan 5, 2026
2f639a4
std.Io.Threaded: implement windows random with \Device\CNG
andrewrk Jan 5, 2026
e3e9c7c
std.Build.Step.Compile: take advantage of std lib atomic files
andrewrk Jan 5, 2026
81a35a8
std.Io: introduce random and randomSecure
andrewrk Jan 6, 2026
1f1381a
update API usage of std.crypto.random to io.random
andrewrk Jan 6, 2026
7bd0332
std.Io.Threaded: implement Windows random seed fallback
andrewrk Jan 6, 2026
90f0d7d
std.Io.Threaded: implement random seed fallback for WASI
andrewrk Jan 6, 2026
e23bec7
build: delete some wrong max_rss values
andrewrk Jan 6, 2026
a136890
std.Io.random: clarify doc comments
andrewrk Jan 6, 2026
1eddc17
std: add test coverage for Io.File.Atomic.link
andrewrk Jan 7, 2026
0529fe3
std.Io.Threaded: fix implementation of getRandomFd
andrewrk Jan 7, 2026
61cb5e4
compiler: fix unit tests
andrewrk Jan 7, 2026
8e1850e
std.Io.Threaded: tweak logic for use_dev_urandom
andrewrk Jan 7, 2026
ee574f6
std.Io.Dir: introduce renamePreserve and use it in File.Atomic.link
andrewrk Jan 7, 2026
7e8c7e5
std.Io: fix AT_SYMLINK_FOLLOW flags
andrewrk Jan 7, 2026
1ddae85
std.Io.Threaded: add procfs fallback for fileHardLink
andrewrk Jan 7, 2026
5e5b328
test-standalone: update cases from posix.getrandom
andrewrk Jan 7, 2026
5d0929c
std.Io.Threaded.randomSecure: eliminate dead code
andrewrk Jan 7, 2026
006afec
std.crypto.tls.Client.Options: expose entropy_len
andrewrk Jan 7, 2026
62d6bbc
Merge pull request 'std.Io: implement entropy (randomness)' (#30709) …
andrewrk Jan 7, 2026
335c0fc
feat(libzigc): add `div`, `ldiv`, `lldiv` and `imaxdiv`
GasInfinity Jan 7, 2026
2153759
crypto.scrypt: accept an std.Io parameter instead of direct entropy
jedisct1 Jan 7, 2026
22380c7
crypto.ed25519.Signer: get an std.io parameter rather than entropy
jedisct1 Jan 7, 2026
cd8f0aa
Add signerWithBaseNonce
jedisct1 Jan 7, 2026
4a29a6e
Add scrypt.createWithSalt
jedisct1 Jan 7, 2026
3ee0925
Allow the salt to be passed as a parameter in bcrypt
jedisct1 Jan 7, 2026
52e0f78
byteSwapAllFieldsAligned: use std.mem.Alignment API (#30724)
SquareMan Jan 7, 2026
938efe4
compiler-rt: fix f80 ceil/floor optimization
Rexicon226 Nov 29, 2025
c44e12d
std: find a better home for the "preopens" concept
andrewrk Jan 7, 2026
7248b4a
std.fs: deprecate base64 APIs
andrewrk Jan 7, 2026
520397b
tests: delete redundant cases
andrewrk Jan 7, 2026
2f372b3
goodbye posix.write
andrewrk Jan 7, 2026
213ef95
goodbye posix.open
andrewrk Jan 7, 2026
ceae960
std.posix: remove setuid, seteuid, setgid, setegid, getuid, etc
andrewrk Jan 7, 2026
d10a730
goodbye posix.socket
andrewrk Jan 7, 2026
ed4dfdc
goodbye posix.shutdown
andrewrk Jan 7, 2026
4a49546
goodbye posix.bind
andrewrk Jan 7, 2026
c89df80
goodbye posix.listen
andrewrk Jan 7, 2026
55ad03e
goodbye posix.accept
andrewrk Jan 7, 2026
1b43f27
std.posix: delete epoll APIs
andrewrk Jan 7, 2026
02c260d
goodbye posix.getsockname
andrewrk Jan 7, 2026
829afe9
std.posix: remove getsockopt, getsockoptError
andrewrk Jan 7, 2026
be0a4dc
goodbye posix.fstatat
andrewrk Jan 7, 2026
2c6304e
std: move posix.kqueue to Io.Kqueue.createFileDescriptor
andrewrk Jan 7, 2026
3961fe3
std: move posix.kevent to Io.Kqueue
andrewrk Jan 7, 2026
45b931a
goodbye posix.fork
andrewrk Jan 7, 2026
791baef
goodbye posix.nanosleep
andrewrk Jan 7, 2026
d96d735
posix: remove send, sendto, sendmsg
andrewrk Jan 7, 2026
cbd75b4
std.posix: remove recvfrom, recvmsg
andrewrk Jan 7, 2026
c0092f5
std.Io: expose Kqueue and IoUring directly
andrewrk Jan 7, 2026
ce89006
std.Io.Kqueue: fix bitrot
andrewrk Jan 8, 2026
8d06d8d
link.Elf: allow multiple relocs at the same location
xtexx Jun 7, 2025
cdaf279
link.Elf2: fix incorrect expected node length
xtexx Nov 22, 2025
d2d8b96
fix redundant safety checks being emitted for slicing
Sep 10, 2025
6a5bb3e
std: find a better home for the "preopens" concept
andrewrk Jan 7, 2026
514b103
std.Io.Threaded: correctly initialize PosixAddress/WsaAddress from so…
greydevv Jan 8, 2026
4319c89
std.Io.Threaded: clock_nanosleep is not linux-only
andrewrk Jan 8, 2026
130fc7e
std.c: use {} rather than void for absent functions
andrewrk Jan 8, 2026
cc38acf
ci: skip incremental tests on loongarch64-linux
alexrp Jan 8, 2026
6f7968f
Merge branch "remove many std.posix functions"
andrewrk Jan 8, 2026
ac91799
std.meta.hasUniqueRepresentation: consider enum tag type
ianprime0509 Jan 8, 2026
d1be8b1
Merge pull request 'enable `x86_64-openbsd` CI' (#30733) from alexrp/…
alexrp Jan 8, 2026
1face9a
std.c.SIG: make it non-exhaustive
andrewrk Jan 8, 2026
b0570b8
Merge pull request 'std.Io.Threaded: clock_nanosleep is not linux-onl…
andrewrk Jan 8, 2026
70af303
std.Io: move some decls around
andrewrk Jan 6, 2026
20baf04
std.Io: add doc comments
andrewrk Jan 6, 2026
09028ba
std.Io.Threaded: fix init for single-threaded
andrewrk Jan 8, 2026
ecea8cc
std.Io.Threaded: refactor some error handling
andrewrk Jan 8, 2026
7f6eab2
feat(libzigc): add `nan`, `nanf`, `nanl` and `bsearch`
GasInfinity Jan 8, 2026
e8af0f2
Fix format on uefi guid type, was hitting unreachable
Khitiara Jan 8, 2026
04e73d0
android: detect native ABI and API level correctly
lunagl Aug 15, 2025
aebd84b
build runner: refactor step evaluation logic
mlugg Jan 8, 2026
6069161
link.Wasm: reserve sufficient capacity for `@tagName` function code
mlugg Jan 8, 2026
efe649b
std.Io.net: make HostName.validate RFC 1123-compliant
jparise Nov 5, 2025
b929078
`std.Io.Threaded`: Raise specific error when DNS lookup returns no A/…
kfprimm Nov 18, 2025
27039a0
std.c: Make clock_nanosleep available on serenity
linusg Jan 9, 2026
7c0b42b
Merge pull request 'crypto.ed25519.Signer: get an std.io parameter ra…
andrewrk Jan 9, 2026
721bdb6
Merge pull request 'crypto.scrypt: accept an std.Io parameter instead…
andrewrk Jan 9, 2026
e965df5
fix(cache): handle missing cache hits when chaining two run steps
bfredl May 15, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
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
90 changes: 66 additions & 24 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,51 +61,72 @@ 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
run: sh ci/loongarch64-linux-debug.sh
timeout-minutes: 240
timeout-minutes: 300
loongarch64-linux-release:
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
run: sh ci/loongarch64-linux-release.sh
timeout-minutes: 180
timeout-minutes: 240

powerpc64le-linux-debug:
runs-on: [self-hosted, powerpc64le-linux]
steps:
- name: Checkout
uses: https://codeberg.org/ziglang/checkout@19af6bac491e2534a4687a50ee84fa7f13258d28
with:
fetch-depth: 0
- name: Build and Test
run: sh ci/powerpc64le-linux-debug.sh
timeout-minutes: 360
powerpc64le-linux-release:
runs-on: [self-hosted, powerpc64le-linux]
steps:
- name: Checkout
uses: https://codeberg.org/ziglang/checkout@19af6bac491e2534a4687a50ee84fa7f13258d28
with:
fetch-depth: 0
- name: Build and Test
run: sh ci/powerpc64le-linux-release.sh
timeout-minutes: 240

riscv64-linux-debug:
if: github.event_name != 'pull_request'
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
run: sh ci/riscv64-linux-debug.sh
timeout-minutes: 600
timeout-minutes: 840
riscv64-linux-release:
if: github.event_name != 'pull_request'
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
run: sh ci/riscv64-linux-release.sh
timeout-minutes: 480
timeout-minutes: 720

s390x-linux-debug:
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 +136,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 +147,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 +157,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 +168,59 @@ 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-openbsd-debug:
runs-on: [self-hosted, x86_64-openbsd]
steps:
- name: Checkout
uses: https://codeberg.org/ziglang/checkout@19af6bac491e2534a4687a50ee84fa7f13258d28
with:
fetch-depth: 0
- name: Build and Test
run: sh ci/x86_64-openbsd-debug.sh
timeout-minutes: 120
x86_64-openbsd-release:
runs-on: [self-hosted, x86_64-openbsd]
steps:
- name: Checkout
uses: https://codeberg.org/ziglang/checkout@19af6bac491e2534a4687a50ee84fa7f13258d28
with:
fetch-depth: 0
- name: Build and Test
run: sh ci/x86_64-openbsd-release.sh
timeout-minutes: 120

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 +230,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
3 changes: 3 additions & 0 deletions .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ Adam Goertz <[email protected]>
Ali Chraghi <[email protected]> <[email protected]>
Andrea Orru <[email protected]> <[email protected]>
Andrew Kelley <[email protected]> <[email protected]>
Andrew Kelley <[email protected]> <[email protected]>
Bogdan Romanyuk <[email protected]> <[email protected]>
Casey Banner <[email protected]>
Dacheng Gao <[email protected]>
Expand All @@ -22,6 +23,7 @@ Felix "xq" Queißner <[email protected]> <[email protected]>
Felix "xq" Queißner <[email protected]> <[email protected]>
Felix "xq" Queißner <[email protected]> <[email protected]>
Frank Denis <[email protected]> <[email protected]>
Frank Denis <[email protected]> <[email protected]>
Garrett Beck <[email protected]> <[email protected]>
Gaëtan S <[email protected]>
GalaxyShard <[email protected]>
Expand Down Expand Up @@ -55,6 +57,7 @@ Marc Tiehuis <[email protected]> <[email protected]>
Mason Remaley <[email protected]>
Mason Remaley <[email protected]> <[email protected]>
Matthew Lugg <[email protected]>
Matthew Lugg <[email protected]> <[email protected]>
Meghan Denny <[email protected]>
Meghan Denny <[email protected]> <[email protected]>
Michael Bartnett <[email protected]> <[email protected]>
Expand Down
15 changes: 7 additions & 8 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,6 @@ set(ZIG_STAGE2_SOURCES
lib/compiler_rt/aulldiv.zig
lib/compiler_rt/aullrem.zig
lib/compiler_rt/bswap.zig
lib/compiler_rt/ceil.zig
lib/compiler_rt/clear_cache.zig
lib/compiler_rt/cmp.zig
lib/compiler_rt/cmpdf2.zig
Expand Down Expand Up @@ -312,7 +311,7 @@ set(ZIG_STAGE2_SOURCES
lib/compiler_rt/floatuntisf.zig
lib/compiler_rt/floatuntitf.zig
lib/compiler_rt/floatuntixf.zig
lib/compiler_rt/floor.zig
lib/compiler_rt/floor_ceil.zig
lib/compiler_rt/fma.zig
lib/compiler_rt/fmax.zig
lib/compiler_rt/fmin.zig
Expand Down Expand Up @@ -411,7 +410,6 @@ set(ZIG_STAGE2_SOURCES
lib/std/Thread.zig
lib/std/Thread/Futex.zig
lib/std/Thread/Mutex.zig
lib/std/Thread/Pool.zig
lib/std/Thread/WaitGroup.zig
lib/std/array_hash_map.zig
lib/std/array_list.zig
Expand All @@ -437,10 +435,6 @@ set(ZIG_STAGE2_SOURCES
lib/std/fmt.zig
lib/std/fmt/parse_float.zig
lib/std/fs.zig
lib/std/fs/AtomicFile.zig
lib/std/fs/Dir.zig
lib/std/fs/File.zig
lib/std/fs/get_app_data_dir.zig
lib/std/fs/path.zig
lib/std/hash.zig
lib/std/hash/auto_hash.zig
Expand Down Expand Up @@ -518,7 +512,6 @@ set(ZIG_STAGE2_SOURCES
src/Builtin.zig
src/Compilation.zig
src/Compilation/Config.zig
src/DarwinPosixSpawn.zig
src/InternPool.zig
src/Package.zig
src/Package/Fetch.zig
Expand Down Expand Up @@ -553,6 +546,7 @@ set(ZIG_STAGE2_SOURCES
src/libs/freebsd.zig
src/libs/glibc.zig
src/libs/netbsd.zig
src/libs/openbsd.zig
src/introspect.zig
src/libs/libcxx.zig
src/libs/libtsan.zig
Expand Down Expand Up @@ -792,6 +786,11 @@ else()
set(ZIG_WASM2C_COMPILE_FLAGS "-std=c99 -O2")
set(ZIG1_COMPILE_FLAGS "-std=c99 -Os")
set(ZIG2_COMPILE_FLAGS "-std=c99 -O0 -fno-sanitize=undefined -fno-stack-protector")
# Must match the condition in build.zig.
if(ZIG_HOST_TARGET_ARCH MATCHES "^powerpc(64)?(le)?$")
set(ZIG1_COMPILE_FLAGS "${ZIG1_COMPILE_FLAGS} -ffunction-sections -fdata-sections")
set(ZIG2_COMPILE_FLAGS "${ZIG2_COMPILE_FLAGS} -ffunction-sections -fdata-sections")
endif()
if(APPLE)
set(ZIG2_LINK_FLAGS "-Wl,-stack_size,0x10000000")
elseif(MINGW)
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