Andrew Kelley
d9a5a3e8c5
std.Io: delete MultiWriter
...
nah
2025-07-22 09:41:43 -07:00
Andrew Kelley
abed0f5129
std.Io: delete BufferedAtomicFile
...
this is now redundant
2025-07-22 09:41:43 -07:00
Andrew Kelley
a3efdd7279
std.Io: delete StreamSource
...
it shan't be missed
2025-07-22 09:41:43 -07:00
Andrew Kelley
d509bc933f
std.Io: delete CWriter
...
it shan't be missed
2025-07-22 09:41:43 -07:00
Andrew Kelley
f34b4780b7
Merge pull request #24521 from ziglang/fs-streaming
...
std.fs.File: delete writeFileAll and friends
2025-07-22 18:40:11 +02:00
Andrew Kelley
34d2778239
std.fs.File.Reader.sendFile: fix 32-bit freebsd
2025-07-22 09:39:24 -07:00
IOKG04
84ae54fbe6
@rem() and @mod() take denominator != 0, not just denominator > 0
...
https://github.com/ziglang/zig/issues/23635
I also added tests for `@rem()` with `denominator < 0` cause there were none before
I hope I added them in the correct place, if not I can change it ofc
2025-07-22 13:35:55 +02:00
IOKG04
a91b4aab73
error return traces are *not* enabled for ReleaseSafe
...
https://github.com/ziglang/zig/issues/24232
2025-07-22 12:35:46 +02:00
IOKG04
3c046ab9d9
[:x]T coerces into [*:x]T
...
https://github.com/ziglang/zig/issues/9628
2025-07-22 12:30:19 +02:00
Andrew Kelley
76fe518d49
std.fs.File.Reader.sendFile: fix EndOfStream detection
2025-07-21 23:33:19 -07:00
Andrew Kelley
c41ac8f19e
Merge pull request #24534 from ziglang/fix-missed-opvs
...
Sema: fix missed simplifications of OPVs
2025-07-22 06:29:58 +02:00
Andrew Kelley
96cbdd145d
std.fs.File.Reader: fix sendFile logic
...
it wasn't accounting for both writer and reader buffering
2025-07-21 20:00:45 -07:00
Andrew Kelley
b35c55e237
std.fs.File.Reader: fix seek position logic
2025-07-21 18:14:21 -07:00
Andrew Kelley
7d02b693be
Sema: fix missed block OPV
2025-07-21 16:43:30 -07:00
Andrew Kelley
85b997b346
Sema: fix missed error union OPV
2025-07-21 16:11:26 -07:00
Andrew Kelley
63f672d322
Sema: fix missed union access OPV
2025-07-21 16:07:20 -07:00
Andrew Kelley
cb6702f42d
Sema: fix missed union init OPV
2025-07-21 15:56:52 -07:00
Andrew Kelley
0958ea3391
Sema: fix missed slice access OPV
2025-07-21 15:45:17 -07:00
Andrew Kelley
71a9b35c0f
Sema: fix missed pointer access OPV
2025-07-21 15:34:57 -07:00
Andrew Kelley
fe10c66d66
std.fs.File.Reader: only fcopyfile if size available
2025-07-21 12:32:37 -07:00
Andrew Kelley
38559e282b
disable failing test
...
tracked by #24524
2025-07-21 12:32:37 -07:00
Andrew Kelley
f1576ef14c
objcopy: delete most of it
...
this code is not up to zig project standards
tracked by #24522
oh, and fix not adjusting buffer seek position in std.fs.File.Reader
2025-07-21 12:32:37 -07:00
Andrew Kelley
f2a3ac7c05
std.fs.File: delete writeFileAll and friends
...
please use File.Writer for these use cases
also breaking API changes to std.fs.AtomicFile
2025-07-21 12:32:37 -07:00
Andrew Kelley
5df52ca0a2
build runner: print newline before summary
2025-07-21 12:32:37 -07:00
Andrew Kelley
c8c59d7ba5
std.json: delete dead API
2025-07-21 12:32:37 -07:00
Andrew Kelley
9abc3232a8
std.fs.File.Reader: fix missed advance writer positions
2025-07-21 13:08:43 +02:00
Andrew Kelley
f97c91ddb5
std.Thread: don't spin
2025-07-21 05:37:51 +02:00
Andrew Kelley
e4abdf5a13
std.Io.Reader: fix takeStruct/peekStruct packed
...
closes #24516
2025-07-20 11:23:12 -07:00
Kendall Condon
f657767b60
langref: upgrade grammar.y for asm clobber change
2025-07-20 19:37:41 +02:00
Carl Åstholm
ca57115da7
Support passing std.zig.BuildId to b.dependency()
2025-07-20 18:28:36 +02:00
Carl Åstholm
2c1a349fb9
Support passing enum slices to b.dependency()
2025-07-20 18:28:36 +02:00
Carl Åstholm
fd5eba9358
Coerce slice-like arguments passed to b.dependency()
...
You can now pass string literals as options.
2025-07-20 18:28:36 +02:00
Carl Åstholm
1a9fae2a70
Dupe string options
2025-07-20 18:28:36 +02:00
Carl Åstholm
e7604bba3e
Serialize float options using the hexadecimal format
...
This ensures no information is lost when the value is round-tripped.
2025-07-20 18:28:36 +02:00
Carl Åstholm
5380e81924
Support passing null to b.dependency()
...
Both null literals and optionals are supported.
2025-07-20 18:28:36 +02:00
Carl Åstholm
00bc72b5ff
Add standalone test case for passing options to dependencies
2025-07-20 18:28:36 +02:00
Carl Åstholm
b92b55ab8e
Update test build.zig.zon files to conform to the new manifest rules
2025-07-20 18:28:36 +02:00
antlilja
14bb533203
use stdout_buffer instead of stdio_buffer in main.zig
2025-07-20 18:27:01 +02:00
Andrew Kelley
8373788c4c
Merge pull request #24488 from ziglang/more
...
std.zig: finish updating to new I/O API
2025-07-20 11:24:41 +02:00
Marc Tiehuis
4780cc50cf
std.Io.Writer: support alignment for {t} specifier
2025-07-20 10:30:17 +02:00
Andrew Kelley
e43617e686
Merge pull request #24505 from ziglang/json
...
update std.json and std.zon to new I/O API
2025-07-20 09:48:25 +02:00
Alex Rønne Petersen
c58cce7999
std.Build.Step.Run: fix up 681d324c49e7cdc773cc891ea49ed69dd03c23c7
...
https://github.com/ziglang/zig/pull/24151/files#r2217494741
2025-07-20 07:25:05 +02:00
Andrew Kelley
c40fb96ca3
std.Io.Writer: fix writeSliceSwap
...
tried to be too clever, wrote bad code
2025-07-19 22:12:37 -07:00
Jacob Young
b4fd57a9c1
llvm: workaround crashes in llvm loop optimizations
...
Workaround for #24383
2025-07-20 06:42:47 +02:00
Andrew Kelley
741a66e03c
std.zig.llvm.BitcodeReader: fix 32-bit skipBlock
2025-07-19 19:57:37 -07:00
Andrew Kelley
83960e0eb0
disable -fno-llvm -target wasm32-wasi testing
...
no active maintainer, and it's failing to lower some basic stuff
2025-07-19 19:57:37 -07:00
Andrew Kelley
d396780925
Compilation: unrevert some stuff
2025-07-19 19:57:37 -07:00
Andrew Kelley
b956ae20af
frontend: align those stdio buffers
2025-07-19 19:57:37 -07:00
Andrew Kelley
8489bab1f4
std.Io.Writer: add missing writeSliceSwap
2025-07-19 19:57:37 -07:00
Andrew Kelley
bd64bf0e47
std.mem: add byteSwapAllElements
2025-07-19 19:57:37 -07:00