Alex Rønne Petersen
5209e7e458
compiler-rt: Export __emutls_get_address for OpenHarmony
2025-07-07 07:23:24 +02:00
Alex Rønne Petersen
b5cc658ab4
llvm: Use emulated TLS when appropriate for the target
...
Closes #24236 .
2025-07-07 07:23:24 +02:00
Alex Rønne Petersen
c96c913bab
Merge pull request #24352 from alexrp/wasi-emulated-libs
...
`wasi`: Build emulated libraries into `libc.a`
2025-07-07 03:42:51 +02:00
jaune
ef8db03d52
std.posix.accept: add WSAENOTSOCK
2025-07-07 00:26:21 +02:00
Alex Rønne Petersen
2bf9ff1b42
wasi: Fix libwasi-emulated-process-clocks build
...
Might have been broken in 05d8b565ad1a1d6c0c1e93dc47f1d828043fcafc.
2025-07-06 20:49:19 +02:00
Alex Rønne Petersen
1f1082e36d
wasi: Build emulated libraries into libc.a
...
This matches what we do for small helper libraries like this in MinGW-w64. It
simplifies the compiler a bit, and also means the build system doesn't have to
treat these library names specially.
Closes #24325 .
2025-07-06 20:05:18 +02:00
Alex Rønne Petersen
97ecb6c551
compiler: Disable self-hosted x86_64 backend on NetBSD
...
https://github.com/ziglang/zig/issues/24341
2025-07-06 19:50:29 +02:00
Alex Rønne Petersen
b461d07a54
Sema: Stop adding Windows implib link inputs for extern "..." syntax.
...
Closes #23971 .
2025-07-06 01:00:18 +02:00
Alex Rønne Petersen
044ccf4138
test: More cleanup of Windows targets in the module test matrix
...
It's kind of unclear what `*-windows-none` actually means, but as far as LLVM is
concerned, it's equivalent to `*-windows-msvc`. For clarity, only test
`*-windows-msvc` and `*-windows-gnu`. #20690 will clean this situation up
eventually.
Also ensure coverage of `link_libc = true` and `link_libc = false` for both.
2025-07-05 04:05:34 +02:00
Alex Rønne Petersen
fc993945a9
Merge pull request #24335 from kada49/common-impl-libc-floor
2025-07-05 03:18:31 +02:00
Silver
be20f97eb9
Update TracyAllocator to new allocator API
2025-07-05 00:24:40 +02:00
Alex Rønne Petersen
9a8f1f675b
start: Only issue fninit for x86(_64)-windows
...
Closes #24263 .
2025-07-04 20:09:20 +02:00
David Senoner
b78751051f
delete superfluous assembly libc floor implementations
2025-07-04 20:05:18 +02:00
David Senoner
3124f700c7
delete superfluous libc floor implementations
2025-07-04 12:54:31 +02:00
Alex Rønne Petersen
9ef4bdf234
test: Respect various test skip options in test-cases
2025-07-03 22:18:12 +02:00
Brandon Black
aa1556156e
std.posix.getsockopt: set option length correctly
...
Fixes #24293
2025-07-03 09:41:26 +02:00
Andrew Kelley
31bc6d5a9d
Merge pull request #24322 from ziglang/delete-dead-backends
...
delete abandoned backends
2025-07-03 04:57:25 +02:00
Jacob Young
725dbf295e
cbe: reapply writer changes
2025-07-02 16:25:47 -07:00
Andrew Kelley
69fd07bd50
sync
2025-07-02 16:04:05 -07:00
Andrew Kelley
e126e5592d
compiler: delete dead x86 bits file
2025-07-02 15:03:26 -07:00
Andrew Kelley
5ae2428d52
compiler: change canonical path for backend ABI source files
2025-07-02 15:01:50 -07:00
Andrew Kelley
a13f0d40eb
compiler: delete arm backend
...
this backend was abandoned before it was completed, and it is not worth
salvaging.
2025-07-02 14:50:41 -07:00
Andrew Kelley
20a543097b
compiler: delete aarch64 backend
...
this backend was abandoned before it was completed, and it is not worth
salvaging.
2025-07-02 14:42:20 -07:00
Andrew Kelley
80a9b8f326
compiler: delete powerpc backend stub
...
nobody is currently working on this
2025-07-02 14:35:13 -07:00
Andrew Kelley
1043c3e2ac
sync
2025-07-02 14:22:29 -07:00
Andrew Kelley
1323ad58f0
sync
2025-07-02 11:18:12 -07:00
Andrew Kelley
1467845184
sync
2025-07-02 07:55:25 -07:00
Andrew Kelley
665737d845
Merge remote-tracking branch 'origin/master' into wrangle-writer-buffering
2025-07-01 19:51:14 -07:00
Andrew Kelley
f23b15b4d5
sync
2025-07-01 19:50:40 -07:00
Alex Rønne Petersen
edf785db0f
Merge pull request #24302 from alexrp/riscv
...
Native RISC-V bootstrap and test fixes
2025-07-02 04:15:10 +02:00
Andrew Kelley
dd4eb86bc1
sync
2025-07-01 16:35:30 -07:00
Andrew Kelley
c9915e949e
std: fix some compilation errors
2025-07-01 16:35:30 -07:00
Andrew Kelley
bc9db143c9
std.fs.File.Reader: fix wrong calculation when reading
2025-07-01 16:35:30 -07:00
Andrew Kelley
55d6341eab
std.io.Writer: introduce flush
...
into the vtable
also break `drainTo` and `sendFileTo` into lower level primitives
`writeSplatHeader` and `sendFileHeader` respectively. these are easier
to reason about in drain implementations.
2025-07-01 16:35:30 -07:00
Andrew Kelley
5b5243b5b7
std: fix drain bugs in Writer.Allocating and net.Stream
2025-07-01 16:35:30 -07:00
Andrew Kelley
9f8486170c
std.http compiling again
2025-07-01 16:35:30 -07:00
Andrew Kelley
d4545f216a
std.io: start removing context from Reader/Writer
...
rely on the field parent pointer pattern
2025-07-01 16:35:30 -07:00
Andrew Kelley
7d6b5ed510
std.io: Reader and Writer check vtable ptr rather than context
2025-07-01 16:35:30 -07:00
Andrew Kelley
c27ab8b45d
std: update zstd to new API
2025-07-01 16:35:30 -07:00
Andrew Kelley
743326f8e9
std.io.Reader.bufferContents -> buffered
2025-07-01 16:35:30 -07:00
Andrew Kelley
9d18e31fee
std.fs.AtomicFile: don't forget to flush
2025-07-01 16:35:30 -07:00
Andrew Kelley
25a0648176
std: move copy_file_range, fcopyfile impls and usage
2025-07-01 16:35:30 -07:00
Andrew Kelley
7926081ec3
fix std.fs.File.Reader
2025-07-01 16:35:30 -07:00
Andrew Kelley
837f2bfc69
hello world compiling again
2025-07-01 16:35:30 -07:00
Andrew Kelley
af24e722fb
update some stuff to std.io API
2025-07-01 16:35:29 -07:00
Andrew Kelley
52b3275eb2
readable -> reader / writable -> writer
2025-07-01 16:35:29 -07:00
Andrew Kelley
a249cc1c7e
update std.io.AllocatingWriter to new API
2025-07-01 16:35:29 -07:00
Andrew Kelley
ef8d7aa251
std: fix a couple compilation errors
2025-07-01 16:35:29 -07:00
Andrew Kelley
f04bc71ed7
std.io.Reader: update readSliceShort to new API
...
no more readVec
2025-07-01 16:35:29 -07:00
Andrew Kelley
0027cc1b1a
std.io.Writer: implement writableVectorIterator
2025-07-01 16:35:29 -07:00