aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2025-10-23std.Target: fix cTypePreferredAlignment() for arcAlex Rønne Petersen
2025-10-23std.Target: remove bogus hosted avr/msp430 prongs in cTypeBitSize()Alex Rønne Petersen
These are microcontroller architectures; none of the OSs in the outer switch run on them.
2025-10-23Zcu: simplify atomicPtrAlignment()Alex Rønne Petersen
The value being computed here is almost always equal to the pointer bit width.
2025-10-23test: enable dynamic hexagon-linux-musl with -Dtest-extra-targetsAlex Rønne Petersen
2025-10-23std.Target.DynamicLinker: recognize standard hexagon-linux-musl pathAlex Rønne Petersen
2025-10-23std.Target: fix cCallingConvention() to pick mips64_n32 for muslabin32Alex Rønne Petersen
2025-10-23spir-v: Fix .storage_buffer pointer indexingjonascloud
Renames arePointersLogical to shouldBlockPointerOps for clarity adds capability check to allow pointer ops on .storage_buffer when variable_pointers capability is enabled. Fixes #25638
2025-10-23std.Target: bump min-max versions for OpenBSD from 7.6-7.7 to 7.7-7.8Alex Rønne Petersen
https://cdn.openbsd.org/pub/OpenBSD/7.8/ANNOUNCEMENT
2025-10-22std.Target: handle some more cases in toCoffMachine()Alex Rønne Petersen
2025-10-22std.Target: better Abi.default() behavior for arc and xtensaAlex Rønne Petersen
2025-10-22std.Target: update lists of omitted LLVM tagsAlex Rønne Petersen
2025-10-22std.mem.Allocator: fix resize doc commentJustus Klausecker
2025-10-21std.{c,posix}: add getgid and getegidWim de With
2025-10-19compiler: add support for arc_interrupt calling conventionAlex Rønne Petersen
Only for use with the C backend at the moment.
2025-10-19std.os.linux: add pivot_root syscallWim de With
2025-10-19std.os.linux: add setns syscallWim de With
2025-10-19glibc: change library link order to prefer libc.so symbolsAlex Rønne Petersen
Also avoid resolving symbols in libraries that were later removed if possible. closes #24347
2025-10-19Merge pull request #25627 from alexrp/qemu-10.1.1-patchedAlex Rønne Petersen
`ci`: switch to patched QEMU 10.1.1.1
2025-10-19Merge pull request #25623 from alexrp/or1kAlex Rønne Petersen
Add `or1k-linux` support (via CBE)
2025-10-19delete file accidentally added in 6de339d5d3deb4c7a1585288888f8e788e489eb6Alex Rønne Petersen
2025-10-19cbe: fix MIPS register names in inline assemblyBingwu Zhang
Zig uses "rN" for MIPS register clobbers which are more ergonomic and easier to write (.rN vs. .@"$N"). However, GCC and Clang uses "$N". Bug: #25613 Signed-off-by: Bingwu Zhang <xtex@xtexx.eu.org>
2025-10-18fix(std): don't add the default `_start` and `panic` in homebrew targetsGasInfinity
* even if std supported those targets, they're not posixy to be in that codepath.
2025-10-18std.atomic: define cache line size for or1kAlex Rønne Petersen
2025-10-18std.debug: fix frame pointer unwinding on or1kAlex Rønne Petersen
2025-10-18std.Thread: implement freeAndExit() for or1kAlex Rønne Petersen
2025-10-18std.heap: define min/max page size for or1k-linuxAlex Rønne Petersen
2025-10-18std.os.linux: add or1k arch bitsAlex Rønne Petersen
2025-10-18std.os.linux.tls: implement or1k supportAlex Rønne Petersen
2025-10-18std.pie: add or1k supportAlex Rønne Petersen
2025-10-18std.start: align stack pointer according to ARC v3 ABIAlex Rønne Petersen
2025-10-18std.start: add or1k supportAlex Rønne Petersen
2025-10-18zig.h: add or1k supportAlex Rønne Petersen
2025-10-18Sema: or1k_sysv calling convention supports varargsAlex Rønne Petersen
2025-10-18Merge pull request #25622 from alexrp/inline-asm-fixesAlex Rønne Petersen
`std`: some miscellaneous inline asm fixes for mips, mips64, mipsn32, and x32
2025-10-18Revert "std.Thread: disable test on armeb in addition to thumbeb"Alex Rønne Petersen
This reverts commit a73f246b2963de0024b9b7070448862e855d5a04.
2025-10-18Merge pull request #25614 from squeek502/windows-rename-deleteAlex Rønne Petersen
windows: Always try using POSIX_SEMANTICS/etc for rename/delete
2025-10-18ci: switch to patched QEMU 10.1.1.1Alex Rønne Petersen
https://github.com/ziglang/qemu-static/releases/tag/10.1.1.1
2025-10-18std.os.linux: remove syscall7() on mips64/mipsn32Alex Rønne Petersen
I'm not sure why this was here, but this is only a thing on O32, not N32/N64.
2025-10-18std.pie: fix getDynamicSymbol() for mipsn32Alex Rønne Petersen
2025-10-18std.start: fix _start for mipsn32Alex Rønne Petersen
This is more similar to O32 than N64.
2025-10-18std.Thread: fix some issues in x86_64/x32 inline asmAlex Rønne Petersen
Wrong syscall on x32; return exit code 0 instead of 1 on both. ref https://github.com/ziglang/zig/issues/22189
2025-10-18std.Thread: fix inline asm for mipsn32Alex Rønne Petersen
This was using the mips64 syscalls. ref https://github.com/ziglang/zig/issues/22189
2025-10-18std.os.linux: fix some issues in x32 inline asmAlex Rønne Petersen
ref https://github.com/ziglang/zig/issues/22189
2025-10-18std.os.linux: fix some issues in mipsn32 inline asmAlex Rønne Petersen
ref https://github.com/ziglang/zig/issues/22189
2025-10-18std: make all MIPS inline asm safe for MIPS IAlex Rønne Petersen
MIPS I has load hazards so we need to insert nops in a few places. This is not a problem for MIPS II and later. While doing this, I also touched up all the inline asm to use ABI register aliases and a consistent formatting convention. Also fixed a few places that didn't properly check if the syscall return value should be negated.
2025-10-18std.Target: move Cpu.supportsAddressSpace() up to hereAlex Rønne Petersen
This allows us to rule out support for certain address spaces based on the OS. This commit is just a refactor, however, and doesn't actually make use of that opportunity yet.
2025-10-18Merge pull request #25600 from alexrp/std-debug-more-archesAlex Rønne Petersen
`std.debug`: add CPU contexts and DWARF mappings for more architectures
2025-10-18Merge pull request #25029 from mlugg/unit-test-timingMatthew Lugg
build system: unit test enhancements Contributes towards https://github.com/ziglang/zig/issues/19821, but does not close it, since the timeout currently cannot be modified per unit test.
2025-10-18ci: final bump to all unit test timeoutsMatthew Lugg
The last commit passed CI, so this final bump is just to allow for deviation caused by different loads on the runner machines. With this change, I don't expect any current unit test to ever time out, even when CI is under extreme load.
2025-10-18ci: bump test timeouts to stupid numbers on WindowsMatthew Lugg
Unfortunately, Windows' scheduler means that test timeouts get hit very easily, because it seems the system can refuse to schedule a waiting process for *upwards of 10 minutes*. We should look for a better solution for this problem going forwards, but for now, just give Windows a very high test timeout. The 30 minute timeout set here is around the duration of a *full CI run* on Windows, so it should be impossible to hit normally, but it means that if a test gets stuck we'll at least get told (eventually).