GasInfinity
|
104c272ae5
|
feat: init x86_16 arch via CBE
|
2025-10-27 11:19:51 +01:00 |
|
GasInfinity
|
9d3bd3c502
|
feat: init 16-bit x86 support in zig.h
|
2025-10-27 11:19:08 +01:00 |
|
GasInfinity
|
55c0693c4a
|
fix: make compiler_rt and std.Io.Writer compile on 16-bit platforms.
|
2025-10-27 11:17:48 +01:00 |
|
GasInfinity
|
914acf13cb
|
chore: make std.zig.target.intByteSize return an u16
|
2025-10-27 11:13:25 +01:00 |
|
Alex Rønne Petersen
|
9161923405
|
Revert "std.Target: xtensa defaults to windowed ABI"
This reverts commit c55e83eab1369373fe6db5072802c2fc1c4d7ebc.
This was a misreading of XtensaFeatures.td on my part.
|
2025-10-27 06:09:33 +01:00 |
|
Alex Rønne Petersen
|
6b4f57a257
|
test: enable tsan standalone test for x86_64-freebsd and aarch64-freebsd
|
2025-10-26 11:12:46 +01:00 |
|
Rajiv Singh
|
fe783d9ff3
|
tsan: fix cross build for FreeBSD by using direct syscalls instead of libsys
This patch can hopefully be dropped in the future; see #24989.
closes #24885
closes #24896
Co-authored-by: Alex Rønne Petersen <alex@alexrp.com>
|
2025-10-26 11:12:22 +01:00 |
|
Alex Rønne Petersen
|
67c9d57e27
|
Compilation: define __illumos__ for C/C++ when targeting illumos
Per the illumos GCC fork.
|
2025-10-26 09:51:35 +01:00 |
|
Alex Rønne Petersen
|
c9e0df97f9
|
std.debug.cpu_context: fix mcontext alignment for x86_64-illumos
It contains a upad128_t array which increases its alignment.
|
2025-10-26 08:48:21 +01:00 |
|
Felipe Cardozo
|
0ec45050e0
|
docs: fix handle_error_with_catch_block typo
|
2025-10-26 05:37:28 +01:00 |
|
Ryan Liptak
|
63a45b8ecd
|
SinglyLinkedList.remove docs: Assumes -> asserts
Removing a node that is not in the list invokes safety-checked illegal behavior, so "asserts" is the recommended language to use.
|
2025-10-25 21:28:54 -07:00 |
|
IOKG04
|
a83db33ba2
|
*LinkedList.remove() assumes node is in the list
probably closes https://github.com/ziglang/zig/issues/16795
|
2025-10-25 21:10:02 -07:00 |
|
Techatrix
|
bd1e960bc0
|
fix std.fs.path.resolveWindows on UNC paths with mixed path separators
|
2025-10-26 02:18:11 +02:00 |
|
Alex Rønne Petersen
|
433846100b
|
Merge pull request #25700 from alexrp/solaris-illumos-stuff
Some Solaris/illumos fixes
|
2025-10-26 00:59:33 +02:00 |
|
Ryan Zezeski
|
ece9640a3e
|
std.c: implement sigrtmin()/sigrtmax() for solaris/illumos
|
2025-10-25 12:44:17 +02:00 |
|
Ryan Zezeski
|
bd1332acae
|
std.c: define MSG constants for solaris/illumos
|
2025-10-25 12:44:17 +02:00 |
|
Ryan Zezeski
|
ac3e4f4519
|
std.c: define arc4random_buf() for illumos
|
2025-10-25 12:44:17 +02:00 |
|
Stephen Gregoratto
|
f4ef7e8761
|
std.debug.cpu_context: add missing signal_ucontext_t fields for x86_64-solaris/illumos
|
2025-10-25 12:44:17 +02:00 |
|
Alex Rønne Petersen
|
e39b82bf4e
|
compiler: avoid using self-hosted backend on x86_64-solaris/illumos
https://github.com/ziglang/zig/issues/25699
|
2025-10-25 12:44:13 +02:00 |
|
Alex Rønne Petersen
|
bebfdc3661
|
llvm: remove some workarounds in loadTruncate()
No longer needed with LLVM 21.
|
2025-10-25 04:52:46 +02:00 |
|
Alex Rønne Petersen
|
feb05a716d
|
std.heap: define page size for alpha-netbsd
|
2025-10-23 20:15:46 +02:00 |
|
Alex Rønne Petersen
|
70206af482
|
Merge pull request #25640 from alexrp/std-target-more-arches
`std.Target`: add tags and info for alpha, hppa, microblaze, sh + some bonus commits
|
2025-10-23 19:35:54 +02:00 |
|
Alex Rønne Petersen
|
07d764dc30
|
std.zig.system: handle alpha, hppa, microblaze, sh in getExternalExecutor()
|
2025-10-23 19:34:02 +02:00 |
|
Alex Rønne Petersen
|
d8cb8b7bae
|
std.debug: fix FP unwinding for hppa/hppa64
|
2025-10-23 19:34:02 +02:00 |
|
Alex Rønne Petersen
|
c13355abda
|
std.debug: fix FP unwind progress check for stackGrowth() == .up targets
|
2025-10-23 19:34:02 +02:00 |
|
Alex Rønne Petersen
|
a689c38197
|
std.debug: FP unwinding is impossible on alpha, microblaze, sh
|
2025-10-23 19:34:02 +02:00 |
|
Alex Rønne Petersen
|
d99cf5061c
|
std.debug.cpu_context: add signal_ucontext_t for alpha, hppa, microblaze, sh
|
2025-10-23 19:34:02 +02:00 |
|
Alex Rønne Petersen
|
23b299056d
|
std.heap: define page size for hppa, sh on NetBSD
|
2025-10-23 19:34:02 +02:00 |
|
Alex Rønne Petersen
|
a03b924e74
|
std.heap: define page size for alpha, hppa, sh on OpenBSD
|
2025-10-23 19:34:02 +02:00 |
|
Alex Rønne Petersen
|
7eda0b5724
|
std.heap: define page size for alpha, hppa, microblaze, sh on Linux
|
2025-10-23 09:27:17 +02:00 |
|
Alex Rønne Petersen
|
3c5502ed8d
|
std.atomic: define cache line size for alpha, hppa, microblaze, sh
|
2025-10-23 09:27:17 +02:00 |
|
Alex Rønne Petersen
|
493889d5eb
|
std.Thread: implement freeAndExit() for sh-linux
|
2025-10-23 09:27:17 +02:00 |
|
Alex Rønne Petersen
|
3777d3c25b
|
std.Thread: implement freeAndExit() for microblaze-linux
|
2025-10-23 09:27:17 +02:00 |
|
Alex Rønne Petersen
|
f6c06d7069
|
std.Thread: implement freeAndExit() for hppa-linux
|
2025-10-23 09:27:17 +02:00 |
|
Alex Rønne Petersen
|
de87c856e7
|
std.Thread: implement freeAndExit() for alpha-linux
|
2025-10-23 09:27:17 +02:00 |
|
Alex Rønne Petersen
|
3d1b7811d4
|
std.Thread: implement freeAndExit() for m68k-linux
|
2025-10-23 09:27:17 +02:00 |
|
Alex Rønne Petersen
|
f723d69a58
|
std.os.linux.tls: add hppa support
Turns out Linux on PA-RISC does system calls in a pretty fascinating way; see
arch/parisc/kernel/syscall.S for details.
|
2025-10-23 09:27:17 +02:00 |
|
Alex Rønne Petersen
|
aff557e4e8
|
std.os.linux.tls: add sh support
|
2025-10-23 09:27:17 +02:00 |
|
Alex Rønne Petersen
|
5e921261a0
|
std.os.linux.tls: add microblaze support
Implemented according to glibc because I'm pretty sure musl gets it wrong.
|
2025-10-23 09:27:17 +02:00 |
|
Alex Rønne Petersen
|
9fde44229c
|
std.os.linux.tls: add alpha support
|
2025-10-23 09:27:17 +02:00 |
|
Alex Rønne Petersen
|
2b54437f24
|
std.pie: add sh support
|
2025-10-23 09:27:17 +02:00 |
|
Alex Rønne Petersen
|
fb2c02929e
|
std.pie: add microblaze support
|
2025-10-23 09:27:17 +02:00 |
|
Alex Rønne Petersen
|
fc48f8aa55
|
std.pie: add alpha support
|
2025-10-23 09:27:17 +02:00 |
|
Alex Rønne Petersen
|
4193ea8239
|
std.start: add sh support
|
2025-10-23 09:27:17 +02:00 |
|
Alex Rønne Petersen
|
c792ebfee2
|
std.start: add microblaze support
|
2025-10-23 09:27:17 +02:00 |
|
Alex Rønne Petersen
|
252e1fd7ec
|
std.start: add alpha support
|
2025-10-23 09:27:17 +02:00 |
|
Alex Rønne Petersen
|
340d6ce1bf
|
std.builtin: move AddressSpace.Context to std.Target.AddressSpaceContext
This type has nothing to do with the language.
|
2025-10-23 09:27:17 +02:00 |
|
Alex Rønne Petersen
|
af1d777b27
|
std.builtin: add CallingConvention.sh_interrupt
Only supported in CBE.
|
2025-10-23 09:27:17 +02:00 |
|
Alex Rønne Petersen
|
4fa453ce20
|
std.builtin: add CallingConvention.microblaze_interrupt
Only supported in CBE.
|
2025-10-23 09:27:17 +02:00 |
|
Alex Rønne Petersen
|
abf40caeb7
|
std.builtin: add CallingConvention.msp430_interrupt
Supported by LLVM and CBE.
|
2025-10-23 09:27:17 +02:00 |
|