Andrew Kelley
3260941988
zig build: configure runner basics implemented
2026-04-29 22:24:28 -07:00
Andrew Kelley
1dcfc8787e
update all readFileAlloc() to accept Io instance
2025-12-23 22:15:08 -08:00
Andrew Kelley
f53248a409
update all std.fs.cwd() to std.Io.Dir.cwd()
2025-12-23 22:15:08 -08:00
Adrià Arrufat
02c5f05e2f
std: replace usages of std.mem.indexOf with std.mem.find
2025-12-05 14:31:27 +01:00
Andrew Kelley
9a0970a12b
rework std.Io.Writer.Allocating to support runtime-known alignment
...
Also, breaking API changes to:
* std.fs.Dir.readFileAlloc
* std.fs.Dir.readFileAllocOptions
2025-08-30 00:48:50 -07:00
Andrew Kelley
abf8955951
make zig compiler processes live across rebuilds
...
Changes the `make` function signature to take an options struct, which
additionally includes `watch: bool`. I intentionally am not exposing
this information to configure phase logic.
Also adds global zig cache to the compiler cache prefixes.
Closes #20600
2024-07-14 19:51:16 -07:00
Andrew Kelley
0cc492a272
make more build steps integrate with the watch system
2024-07-12 00:14:08 -07:00
Andrew Kelley
f97c2f28fd
update the codebase for the new std.Progress API
2024-05-27 20:56:48 -07:00
Jacob Young
e3424332d3
Build: cleanup
...
* `doc/langref` formatting
* upgrade `.{ .path = "..." }` to `b.path("...")`
* avoid using arguments named `self`
* make `Build.Step.Id` usage more consistent
* add `Build.pathResolve`
* use `pathJoin` and `pathResolve` everywhere
* make sure `Build.LazyPath.getPath2` returns an absolute path
2024-05-05 09:42:51 -04:00
Jacob Young
eb723a4070
Update uses of @fieldParentPtr to use RLS
2024-03-30 20:50:48 -04:00
Jacob Young
e409afb79b
Update uses of @fieldParentPtr to pass a pointer type
2024-03-30 20:50:48 -04:00
Felix (xq) Queißner
ce95a3b153
Build.zig rename orgy (aka: #16353 ). Renames FileSource to LazyPath and removes functions that take literal paths instead of LazyPath.
2023-07-30 11:18:50 -07:00
Veikka Tuominen
3f3b1a6808
std.Build: use Step.* instead of *Step
...
Follow up to 13eb7251d3
2023-05-03 20:55:29 -07:00
Nicolas Sterchele
13eb7251d3
build: rename std.Build.*Step to std.Build.Step.*
...
Follow-up actions from #14647
Fixes #14947
2023-05-03 08:39:24 +03:00