Andrew Kelley
741569d5a7
std.Ast.Render: fix conflicts with master branch
2025-07-16 17:58:06 -07:00
Andrew Kelley
70f514f1ba
std.Io.Reader: fix appendRemaining harder
...
ensure that it issues a stream call that includes the buffer to detect
the end when needed, but otherwise does not offer Reader buffer to
append directly to the list.
2025-07-16 17:20:03 -07:00
Andrew Kelley
ad726587cc
zig fmt: update to new I/O API
2025-07-16 17:20:03 -07:00
Andrew Kelley
aac301a655
update aro
2025-07-16 17:20:03 -07:00
Andrew Kelley
1f93f61958
std.zig.readSourceFileToEndAlloc: add file size heuristic
2025-07-16 17:20:03 -07:00
Andrew Kelley
73cfba4d0d
std.Io.Writer: fix writeStruct
2025-07-16 17:20:03 -07:00
Andrew Kelley
e7a639967e
std.Io.Reader: fix appendRemaining
...
it calls readVec which is a higher level function than was expected in
the previous implementation
2025-07-16 17:20:03 -07:00
Andrew Kelley
9222d201d7
add a happy little main function to src/fmt.zig
...
Provided for debugging/testing purposes; unused by the compiler.
2025-07-16 17:20:02 -07:00
Andrew Kelley
c4776d66af
update compiler
2025-07-16 17:20:02 -07:00
Andrew Kelley
b3ee5a6c30
update cmake file listing
2025-07-16 17:20:02 -07:00
Andrew Kelley
2d5d2ba4f5
std.zig.Render: update it and references
2025-07-16 17:20:02 -07:00
Andrew Kelley
0389b4c7b9
move a file without changing it
2025-07-16 17:20:02 -07:00
Andrew Kelley
6c4a104822
std.zig.Ast: update to new I/O API
2025-07-16 17:20:02 -07:00
Andrew Kelley
1a20b467ea
std.zig: update to new I/O API
2025-07-16 17:20:02 -07:00
Andrew Kelley
680358767e
Merge pull request #24419 from ziglang/asm-clobbers
...
inline assembly: use types for clobbers
2025-07-17 02:14:18 +02:00
Silver
d772c06272
fix splatBytesAll and writeSplatAll
2025-07-16 20:37:38 +02:00
Andrew Kelley
af084e537a
add lr register to mips
2025-07-16 10:27:40 -07:00
Andrew Kelley
c2fa961b63
update docs
2025-07-16 10:27:40 -07:00
Andrew Kelley
8a478b4e9e
fix sparc ccr regs
2025-07-16 10:27:40 -07:00
Andrew Kelley
5aa50bcbff
fix mips clobbers
2025-07-16 10:27:40 -07:00
Andrew Kelley
8a19eeb8af
canonicalize loongarch clobbers
2025-07-16 10:27:40 -07:00
Andrew Kelley
15e5e5b2bc
fix mips inline asm
...
wtf are these dollar signs?
2025-07-16 10:27:40 -07:00
Andrew Kelley
3628137442
add clobbers for more architectures
2025-07-16 10:27:40 -07:00
Andrew Kelley
54f073377c
std.zig.render: handle legacy clobber updating more gracefully
...
"that's really easy to handle correctly" he said
2025-07-16 10:27:39 -07:00
Andrew Kelley
15f45e89a7
remove condition codes
...
LLVM always assumes these are on. Zig backends do not observe them.
If Zig backends want to start using them, they can be introduced, one
arch at a time, with proper documentation.
2025-07-16 10:27:39 -07:00
Andrew Kelley
de9c0e4580
alexrp suggestions
2025-07-16 10:27:39 -07:00
Andrew Kelley
76d04c1662
zig fmt
2025-07-16 10:27:39 -07:00
Andrew Kelley
87ce83d5a5
zig1.wasm update
...
needed due to syntax update
2025-07-16 10:23:02 -07:00
Andrew Kelley
fcafc63f3d
inline assembly: use types
...
until now these were stringly typed.
it's kinda obvious when you think about it.
2025-07-16 10:23:02 -07:00
DubbleClick
c7bcdb4802
fix glibc version for single_threaded.h (2.32 instead of 2.35)
2025-07-16 19:18:15 +02:00
Alex Kladov
7d63e777a4
fix memory leak
...
closes #24421
2025-07-16 18:34:34 +02:00
Alex Rønne Petersen
6002514b72
test: mark riscv soft float targets as extra targets
...
Soft float is a very rare use case for riscv*-linux. No point wasting CI
resources on these targets, especially since our arm and mips soft float
coverage is already likely to catch most soft float bugs.
2025-07-16 16:54:12 +02:00
Alex Rønne Petersen
89ab6b161d
Merge pull request #24470 from alexrp/fix-tools
...
Fix bitrot in tools
2025-07-16 13:15:35 +02:00
Alex Rønne Petersen
11a49868a1
test: actually build the tools!
2025-07-16 06:38:53 +02:00
Alex Rønne Petersen
2ffa63acef
tools: fix some bitrot
2025-07-16 06:37:48 +02:00
Alex Rønne Petersen
9a69aede0e
ci: add riscv workflow with manual trigger for experimentation
2025-07-16 03:25:10 +02:00
Andrew Kelley
dbe0e0c1bc
Merge pull request #24464 from ziglang/fixes
...
std.Io fixes, docs, and tests
2025-07-16 02:54:45 +02:00
dweiller
94e0c85b6b
update dump-cov for alignment and writergate changes
2025-07-15 23:57:56 +02:00
Andrew Kelley
5f6e3245d1
std.os.windows: restore sendmsg, sendto, recvfrom
...
These regressed with 1a998886c863a1829d649f196093f1058cd9cf13
I'm not ready to tackle std.posix quite yet
2025-07-15 14:24:06 -07:00
Andrew Kelley
d4a191fc0a
CI: disable RISC-V runners for now
...
these are taking too long. let's use a different workflow for now until
these runs are not holding up the pipeline, then they can be
reintroduced on master branch
2025-07-15 13:54:12 -07:00
Andrew Kelley
6d39c29564
std.Io.Writer.Allocating: fix sendFile EndOfStream
2025-07-15 11:43:55 -07:00
Andrew Kelley
c7f332a260
std.Io.Writer.Discarding: fix sendFile EndOfStream
2025-07-15 11:32:40 -07:00
Andrew Kelley
f521aa0520
std.io.Reader: add more docs for rebase
...
closes #24418
2025-07-15 10:04:45 -07:00
Andrew Kelley
0cb558ba3a
better default min versions for freebsd and netbsd
...
Without this change, by default you get a failure when trying to cross
compile for these targets.
freebsd was error: undefined symbol: __libc_start1
netbsd was warning: invalid target NetBSD libc version: 9.4.0
error: unable to build NetBSD libc shared objects: InvalidTargetLibCVersion
now they work by default
2025-07-15 15:32:18 +02:00
Alex Rønne Petersen
9dc4759902
zig std: link ws2_32.dll on windows
...
Closes #24450 .
2025-07-15 13:53:22 +02:00
Andrew Kelley
a5dbb656b1
Merge pull request #24454 from ziglang/packed-struct-streams
...
std.Io: handle packed structs better
2025-07-15 13:43:08 +02:00
Andrew Kelley
d3cd0b2714
Merge pull request #24448 from matklad/matklad/inline
...
langref: make example more interesting.
2025-07-15 08:51:56 +02:00
Travis Staloch
294db62d92
memory safety fix for Io.Writer.Allocating.toOwnedSlice*()
...
don't forget to save the list. this allows a
`testing.checkAllAllocationFailures()` test to pass in one of my
projects which newly failed since #24329 was merged.
2025-07-15 08:49:54 +02:00
Andrew Kelley
4f5fa959aa
std.Io.Reader.streamDelimiterEnding docs clarification
2025-07-14 21:01:40 -07:00
Andrew Kelley
deb9f3e88f
std.Io: handle packed structs better
...
Rather than having the endian-suffixed functions be the preferred ones
the unsuffixed ones are the preferred ones and the tricky functions get
a special suffix.
Makes packed structs read and written the same as integers.
closes #12960
2025-07-14 18:43:56 -07:00