zig build: separate the maker process from the configurer process #35428

Merged
andrewrk merged 179 commits from build-runner-process into master 2026-05-26 18:00:45 +02:00
Owner

closes #31397
closes #31691

Release Notes

The primary motivation is to make zig build faster, both in the sense that it will take less time to compile, because only the user's build.zig logic is being recompiled when it changes, and in the sense that the build runner is built with optimizations enabled, which is starting to become more valuable now that we have introduced --watch and --fuzz. Furthermore, the build.zig logic can be skipped sometimes depending on what CLI flags are used with zig build.

This changeset heavily reworks the internal mechanism of the zig build system, however, it is mostly non-breaking from an API perspective, with the exceptions noted below.

Third-party tooling such as ZLS will benefit from consuming the serialized configuration file rather than maintaining a fork of the build runner.

New CLI Arguments

  --maker-opt=[mode]           Change maker executable optimization mode (default: ReleaseSafe)
--print-configuration        Render configuration as .zon to stdout

Run Step: Passthru Args

In the Run step, passthru args are all together now, not observable in
configure phase whether run args are provided.

if (b.args) |args| {
    run_cmd.addArgs(args);
}

⬇️

run_cmd.addPassthruArgs();

This removes a capability from build scripts since they can no longer observe
those arguments. In exchange, it means that when changing those arguments,
build scripts no longer must be rebuilt from source.

Fmt Step: Options

paths and exclude_paths are now LazyPath lists. There is a convenience method to create them: b.pathList.

-    const fmt_include_paths = &.{ "lib", "src", "test", "tools", "build.zig", "build.zig.zon" };
-    const fmt_exclude_paths = &.{ "test/cases", "test/behavior/zon" };
+    const fmt_include_paths = b.pathList(&.{ "lib", "src", "test", "tools", "build.zig", "build.zig.zon" });
+    const fmt_exclude_paths = b.pathList(&.{ "test/cases", "test/behavior/zon" });

std.Build API

  • b.build_root (Directory) -> b.root (Path)
  • ConfigHeader.Options: include_guard_override -> include_guard
  • LazyPath: getDisplayName -> format ("{f}")
  • LazyPath.basename: removed since the value is not known until make phase
  • b.findProgram divided into findProgram and findProgramLazy and API future-proofed.
  • ConfigHeader now properly reports unused values for all styles

std.Target API

  • parseCpuModel now returns optional rather than error

Build System Behavior

  • When targeting Windows or Wine, artifact args added to Run steps used to modify PATH based on the set of directories containing the recursive set of DLL dependencies. Now this is only done for argv[0]. The motivation for also doing this for the other command line arguments is unclear, since those DLLs don't need to be loaded in order to execute argv[0].

Perf Data Point: zig build -h (cached)

Benchmark 1 (34 runs): master/zig build -h
  measurement          mean ± σ            min … max           outliers         delta
  wall_time           150ms ± 5.52ms     145ms …  165ms          4 (12%)        0%
  peak_rss           84.8MB ±  275KB    84.2MB … 85.1MB          0 ( 0%)        0%
  cpu_cycles          593M  ± 4.01M      588M  …  608M           2 ( 6%)        0%
  instructions        995M  ± 52.5K      995M  …  995M           0 ( 0%)        0%
  cache_references   25.8M  ±  165K     25.4M  … 26.1M           0 ( 0%)        0%
  cache_misses        651K  ± 20.1K      619K  …  697K           0 ( 0%)        0%
  branch_misses       918K  ± 7.44K      906K  …  935K           0 ( 0%)        0%
Benchmark 2 (348 runs): branch/zig build -h
  measurement          mean ± σ            min … max           outliers         delta
  wall_time          14.3ms ±  744us    13.2ms … 23.3ms          8 ( 2%)        ⚡- 90.4% ±  0.4%
  peak_rss           78.5MB ±  562KB    77.1MB … 81.4MB          7 ( 2%)        ⚡-  7.4% ±  0.2%
  cpu_cycles         24.1M  ±  821K     22.8M  … 27.1M           3 ( 1%)        ⚡- 95.9% ±  0.1%
  instructions       43.7M  ± 23.8K     43.7M  … 43.8M          56 (16%)        ⚡- 95.6% ±  0.0%
  cache_references   1.46M  ± 14.6K     1.40M  … 1.50M          19 ( 5%)        ⚡- 94.3% ±  0.1%
  cache_misses        142K  ± 4.87K      127K  …  157K           2 ( 1%)        ⚡- 78.1% ±  0.4%
  branch_misses       126K  ± 1.37K      120K  …  129K          12 ( 3%)        ⚡- 86.3% ±  0.1%

Perf Data Point: Running a subset of the toolchain test suite

Fresh cache except in both cases I let the build runner / maker / configurer
get cached beforehand.

master:

$ time -v stage3/bin/zig build test-cases test-standalone -Dskip-release --seed 0
        Elapsed (wall clock) time (h:mm:ss or m:ss): 2:09.93
        Maximum resident set size (kbytes): 496512

branch:

$ time -v stage3/bin/zig build test-cases test-standalone -Dskip-release --seed 0 --maker-opt=ReleaseFast
        Elapsed (wall clock) time (h:mm:ss or m:ss): 1:46.88
        Maximum resident set size (kbytes): 495700

It's only one data point, but the new thing is faster and less memory. As is
expected from being compiled in optimized mode. That's the point of the
changeset.

Introduce the Concept of Configure Cache Poisoning

If the cache is poisoned means that the configure logic had side
effects, or otherwise did something that could not be tracked by the
cache system.

This is not to be confused with whether individual steps may have side
effects when being evaluated; it has to do with the logic inside build.zig
itself. For example, a Run step that prints "hello world" has side
effects at make time and therefore does not warrant setting this flag,
while checking for the existence of scdoc at configure time in order to
choose the default value for a configuration option does.

Keeping the cache pure will make zig build faster, bypassing the
configurer process when identical configuration would be generated.

When the cache is poisoned, the maker process will delete the build
configuration file upon ingesting it since it cannot be reused.

Currently the only way to poison the cache is to call findProgram.

Advanced users can override the cache poisoning behavior with a CLI option:

  --cache-poison[=mode]        Override configuration caching behavior
      pure                     (default) Avoid false positive cache hits
      poisoned                 Don't cache the configuration
      disallowed               Panics when cache would be poisoned
      ignored                  A little poison never hurt anybody

findProgram

Immediately (in the configure phase), searches for an executable on the host
that has more than one possible name.

Names are searched in order, observing search prefixes first and then PATH
environment variable.

Calling this function poisons the configuration cache, so it is only
appropriate when the existence of the program or its output needs to be
observed by configuration logic. That's why there is a lazy variant of this function now.

findProgramLazy

Creates an anonymous Step that searches for an executable on the host that
has more than one possible name.

Returns the LazyPath of the found executable. The search only takes place
if the LazyPath will be used by a depending Step.

This API is useful in the following cases:

  • The binary is not named the same across all systems (for example "python"
    vs "python3").
  • The binary may be produced by building from source rather than being
    globally installed and will therefore be possibly found in one of the
    search prefix paths.

Removed Ability to Override Build Runner

There is no concept of a "build runner" any more; it has been split in two:
configurer and maker.

Users of this feature will likely want to no longer override any logic, and
instead consume the configuration file produced by configurer.

If overriding one or the other of these is desired, the feature will need to be
re-introduced (as --override-maker or --override-configurer).

Followup Issues

  • CLI flag to print path to the configuration file
  • test a bunch of third party projects / help people migrate
  • search prefixes added at configuration time should be package-local
  • introduce the concept of adding path dependencies of the configure script itself
  • Maker.WebServer: fix bad logic in serveTarFile
  • Maker.WebServer: don't do linear search in the steps array
  • maker: refactor and reuse the fuzz number parsing here (--maxrss, --debounce)
  • handle missing cache hits when chaining two run steps
  • Absolute and cwd-relative paths in build cache
  • build system fmt step with check=false does not acquire a write lock on source files
  • enhance CheckFile step output when there is not a match
  • stop leaking into global process arena. audit all uses of graph.arena
  • reduce the size of Maker.Step.Extended (make Run smaller) probably by using an arena per make
  • consider using ReleaseFast by default for Maker
  • make the generated dependencies.zig be dependencies.zon and don't put absolute paths in there
    • and adjust dependencyInner to not openDir()
  • make more stuff use IndexType
  • make addExtra return Index using reflection
  • refactor with DefaultingEnum
  • get the target from the parent process instead
  • link_eh_frame_hdr should be DefaultingBool
  • make --foo, --no-foo CLI args uniform (make them -f args instead)
  • install steps should provide generated files for installed things, then delete the run step hack
    • but artifact install steps also add paths for dyn libs on windows
  • no more "artifact arg" to run step. if you want to run the post-install binary, get the lazy path
    from the install step.
  • UpdateSourceFiles: introduce Group
  • WriteFiles: introduce Group
  • re-examine the use case of adding file paths to Options steps
  • extract the reusable Configure abstractions and reuse it for Zir etc
  • add the ability to delete files to UpdateSourceFiles
  • merge the code of Maker.Step.Compile.checkCompileErrors with std.testing.expectEqualStrings
  • std.Build.Run: make addPathDir use LazyPath. This will require enhancing the env_map to support
    some values being strings and some values being LazyPaths.
    • also this is not the appropriate place to integrate with wine. move it to Maker logic
  • constrain the set of environment variables passed to configurer. they can ask for more but they
    will integrate properly with the cache system.
  • should ConfigHeader run in configurer and store the rendered string?
  • ConfigHeader:
    • TODO: use C-specific escaping instead of zig string literals
    • TODO: use nasm-specific escaping instead of zig string literals
  • enhance doctest to use "--listen=-" rather than operating in a temporary directory
  • Maker: eliminate memory allocation in the hot path (search for "TODO eliminate memory allocation here" x2)
  • print more stuff in --print-configuration
    • paths
    • unlazy deps
    • system integrations
    • available options
  • Maker.Step.InstallDir: update the call to truncatePath to first check dest
    stat. if already exists and length zero, skip the open() call and track the
    "all_cached" flag properly like the surrounding code.
  • Maker.Step.Run: when trying to interpret, learn the target from the binary
    directly rather than from relying on it being a Compile step. This will make
    this logic work even for the edge case that the binary was produced by a
    third party.
  • investigate why configurer takes so long to compile
  • fmt step: import zig fmt code directly rather than child proc?
  • add zig reduce functionality directly into the build system. detect when the compiler crashes and
    offer a command that will attempt to make a reproducer.
closes #31397 closes #31691 ## Release Notes The primary motivation is to make `zig build` faster, both in the sense that it will take less time to compile, because only the user's `build.zig` logic is being recompiled when it changes, and in the sense that the build runner is built with optimizations enabled, which is starting to become more valuable now that we have introduced `--watch` and `--fuzz`. Furthermore, the build.zig logic can be skipped sometimes depending on what CLI flags are used with `zig build`. This changeset heavily reworks the internal mechanism of the zig build system, however, it is mostly non-breaking from an API perspective, with the exceptions noted below. Third-party tooling such as ZLS will benefit from consuming the serialized configuration file rather than maintaining a fork of the build runner. ### New CLI Arguments ``` --maker-opt=[mode] Change maker executable optimization mode (default: ReleaseSafe) ``` ``` --print-configuration Render configuration as .zon to stdout ``` ### Run Step: Passthru Args In the Run step, passthru args are all together now, not observable in configure phase whether run args are provided. ```zig if (b.args) |args| { run_cmd.addArgs(args); } ``` ⬇️ ```zig run_cmd.addPassthruArgs(); ``` This removes a capability from build scripts since they can no longer observe those arguments. In exchange, it means that when changing those arguments, build scripts no longer must be rebuilt from source. ### Fmt Step: Options `paths` and `exclude_paths` are now LazyPath lists. There is a convenience method to create them: `b.pathList`. ```diff - const fmt_include_paths = &.{ "lib", "src", "test", "tools", "build.zig", "build.zig.zon" }; - const fmt_exclude_paths = &.{ "test/cases", "test/behavior/zon" }; + const fmt_include_paths = b.pathList(&.{ "lib", "src", "test", "tools", "build.zig", "build.zig.zon" }); + const fmt_exclude_paths = b.pathList(&.{ "test/cases", "test/behavior/zon" }); ``` ### std.Build API * `b.build_root` (Directory) -> `b.root` (Path) * `ConfigHeader.Options`: `include_guard_override` -> `include_guard` * `LazyPath`: `getDisplayName` -> `format` ("{f}") * `LazyPath.basename`: removed since the value is not known until make phase * `b.findProgram` divided into `findProgram` and `findProgramLazy` and API future-proofed. * `ConfigHeader` now properly reports unused values for all styles ### std.Target API * parseCpuModel now returns optional rather than error ### Build System Behavior * When targeting Windows or Wine, artifact args added to Run steps used to modify PATH based on the set of directories containing the recursive set of DLL dependencies. Now this is only done for argv[0]. The motivation for also doing this for the other command line arguments is unclear, since those DLLs don't need to be loaded in order to execute argv[0]. ### Perf Data Point: `zig build -h` (cached) ``` Benchmark 1 (34 runs): master/zig build -h measurement mean ± σ min … max outliers delta wall_time 150ms ± 5.52ms 145ms … 165ms 4 (12%) 0% peak_rss 84.8MB ± 275KB 84.2MB … 85.1MB 0 ( 0%) 0% cpu_cycles 593M ± 4.01M 588M … 608M 2 ( 6%) 0% instructions 995M ± 52.5K 995M … 995M 0 ( 0%) 0% cache_references 25.8M ± 165K 25.4M … 26.1M 0 ( 0%) 0% cache_misses 651K ± 20.1K 619K … 697K 0 ( 0%) 0% branch_misses 918K ± 7.44K 906K … 935K 0 ( 0%) 0% Benchmark 2 (348 runs): branch/zig build -h measurement mean ± σ min … max outliers delta wall_time 14.3ms ± 744us 13.2ms … 23.3ms 8 ( 2%) ⚡- 90.4% ± 0.4% peak_rss 78.5MB ± 562KB 77.1MB … 81.4MB 7 ( 2%) ⚡- 7.4% ± 0.2% cpu_cycles 24.1M ± 821K 22.8M … 27.1M 3 ( 1%) ⚡- 95.9% ± 0.1% instructions 43.7M ± 23.8K 43.7M … 43.8M 56 (16%) ⚡- 95.6% ± 0.0% cache_references 1.46M ± 14.6K 1.40M … 1.50M 19 ( 5%) ⚡- 94.3% ± 0.1% cache_misses 142K ± 4.87K 127K … 157K 2 ( 1%) ⚡- 78.1% ± 0.4% branch_misses 126K ± 1.37K 120K … 129K 12 ( 3%) ⚡- 86.3% ± 0.1% ``` ### Perf Data Point: Running a subset of the toolchain test suite Fresh cache except in both cases I let the build runner / maker / configurer get cached beforehand. master: ``` $ time -v stage3/bin/zig build test-cases test-standalone -Dskip-release --seed 0 Elapsed (wall clock) time (h:mm:ss or m:ss): 2:09.93 Maximum resident set size (kbytes): 496512 ``` branch: ``` $ time -v stage3/bin/zig build test-cases test-standalone -Dskip-release --seed 0 --maker-opt=ReleaseFast Elapsed (wall clock) time (h:mm:ss or m:ss): 1:46.88 Maximum resident set size (kbytes): 495700 ``` It's only one data point, but the new thing is faster and less memory. As is expected from being compiled in optimized mode. That's the point of the changeset. ### Introduce the Concept of Configure Cache Poisoning If the cache is poisoned means that the **configure logic** had side effects, or otherwise did something that could not be tracked by the cache system. This is not to be confused with whether individual steps may have side effects when being evaluated; it has to do with the logic inside build.zig itself. For example, a `Run` step that prints "hello world" has side effects *at make time* and therefore does not warrant setting this flag, while checking for the existence of `scdoc` *at configure time* in order to choose the default value for a configuration option does. Keeping the cache pure will make `zig build` faster, bypassing the configurer process when identical configuration would be generated. When the cache is poisoned, the maker process will delete the build configuration file upon ingesting it since it cannot be reused. Currently the only way to poison the cache is to call `findProgram`. Advanced users can override the cache poisoning behavior with a CLI option: ``` --cache-poison[=mode] Override configuration caching behavior pure (default) Avoid false positive cache hits poisoned Don't cache the configuration disallowed Panics when cache would be poisoned ignored A little poison never hurt anybody ``` #### findProgram Immediately (in the configure phase), searches for an executable on the host that has more than one possible name. Names are searched in order, observing search prefixes first and then PATH environment variable. Calling this function poisons the configuration cache, so it is only appropriate when the existence of the program or its output needs to be observed by configuration logic. That's why there is a lazy variant of this function now. #### findProgramLazy Creates an anonymous `Step` that searches for an executable on the host that has more than one possible name. Returns the `LazyPath` of the found executable. The search only takes place if the `LazyPath` will be used by a depending `Step`. This API is useful in the following cases: * The binary is not named the same across all systems (for example "python" vs "python3"). * The binary may be produced by building from source rather than being globally installed and will therefore be possibly found in one of the search prefix paths. ### Removed Ability to Override Build Runner There is no concept of a "build runner" any more; it has been split in two: configurer and maker. Users of this feature will likely want to no longer override any logic, and instead consume the configuration file produced by configurer. If overriding one or the other of these is desired, the feature will need to be re-introduced (as --override-maker or --override-configurer). ## Followup Issues * [CLI flag to print path to the configuration file](https://codeberg.org/ziglang/zig/issues/35498) * test a bunch of third party projects / help people migrate * [search prefixes added at configuration time should be package-local](https://codeberg.org/ziglang/zig/issues/35472) * [introduce the concept of adding path dependencies of the configure script itself](https://codeberg.org/ziglang/zig/issues/35473) - don't forget to implement Cache.addPathPost and Configuration.Path.toCachePath - [make --watch rerun itself](https://github.com/ziglang/zig/issues/20602) * [Maker.WebServer: fix bad logic in serveTarFile](https://codeberg.org/ziglang/zig/issues/35457) * [Maker.WebServer: don't do linear search in the steps array](https://codeberg.org/ziglang/zig/issues/35458) * [maker: refactor and reuse the fuzz number parsing here (--maxrss, --debounce)](https://codeberg.org/ziglang/zig/issues/35459) * [handle missing cache hits when chaining two run steps](https://codeberg.org/ziglang/zig/pulls/30762) * [Absolute and cwd-relative paths in build cache](https://codeberg.org/ziglang/zig/issues/32097) * [build system fmt step with check=false does not acquire a write lock on source files](https://codeberg.org/ziglang/zig/issues/35204) * [enhance CheckFile step output when there is not a match](https://codeberg.org/ziglang/zig/issues/35208) * [stop leaking into global process arena. audit all uses of graph.arena](https://github.com/ziglang/zig/issues/20603) * reduce the size of Maker.Step.Extended (make Run smaller) probably by using an arena per make * consider using ReleaseFast by default for Maker * make the generated dependencies.zig be dependencies.zon and don't put absolute paths in there - and adjust dependencyInner to not openDir() * make more stuff use IndexType * make addExtra return Index using reflection * refactor with DefaultingEnum * get the target from the parent process instead * link_eh_frame_hdr should be DefaultingBool * make --foo, --no-foo CLI args uniform (make them -f args instead) * install steps should provide generated files for installed things, then delete the run step hack - but artifact install steps also add paths for dyn libs on windows * no more "artifact arg" to run step. if you want to run the post-install binary, get the lazy path from the install step. * UpdateSourceFiles: introduce Group * WriteFiles: introduce Group * re-examine the use case of adding file paths to Options steps * extract the reusable Configure abstractions and reuse it for Zir etc * add the ability to delete files to UpdateSourceFiles * merge the code of Maker.Step.Compile.checkCompileErrors with std.testing.expectEqualStrings * std.Build.Run: make addPathDir use LazyPath. This will require enhancing the env_map to support some values being strings and some values being LazyPaths. - also this is not the appropriate place to integrate with wine. move it to Maker logic * constrain the set of environment variables passed to configurer. they can ask for more but they will integrate properly with the cache system. * should ConfigHeader run in configurer and store the rendered string? * ConfigHeader: - TODO: use C-specific escaping instead of zig string literals - TODO: use nasm-specific escaping instead of zig string literals * enhance doctest to use "--listen=-" rather than operating in a temporary directory * Maker: eliminate memory allocation in the hot path (search for "TODO eliminate memory allocation here" x2) * print more stuff in --print-configuration - paths - unlazy deps - system integrations - available options * Maker.Step.InstallDir: update the call to truncatePath to first check dest stat. if already exists and length zero, skip the open() call and track the "all_cached" flag properly like the surrounding code. * Maker.Step.Run: when trying to interpret, learn the target from the binary directly rather than from relying on it being a Compile step. This will make this logic work even for the edge case that the binary was produced by a third party. * investigate why configurer takes so long to compile * fmt step: import zig fmt code directly rather than child proc? * add zig reduce functionality directly into the build system. detect when the compiler crashes and offer a command that will attempt to make a reproducer.
zig build: add CLI usage for --print-configuration
Some checks failed
ci / x86_64-netbsd-release (pull_request) Failing after 5m13s
ci / x86_64-freebsd-release (pull_request) Failing after 4m59s
ci / x86_64-freebsd-debug (pull_request) Failing after 5m36s
ci / x86_64-netbsd-debug (pull_request) Failing after 6m5s
ci / aarch64-macos-release (pull_request) Failing after 6m5s
ci / x86_64-openbsd-release (pull_request) Failing after 6m0s
ci / x86_64-windows-release (pull_request) Failing after 6m19s
ci / aarch64-macos-debug (pull_request) Failing after 6m33s
ci / x86_64-windows-debug (pull_request) Failing after 7m14s
ci / x86_64-openbsd-debug (pull_request) Failing after 7m11s
ci / s390x-linux-release (pull_request) Failing after 12m3s
ci / s390x-linux-debug (pull_request) Failing after 13m42s
ci / x86_64-linux-debug (pull_request) Failing after 18m47s
ci / x86_64-linux-debug-llvm (pull_request) Failing after 24m27s
ci / x86_64-linux-release (pull_request) Failing after 45m46s
ci / aarch64-linux-release (pull_request) Failing after 1h2m33s
ci / powerpc64le-linux-release (pull_request) Failing after 1h13m13s
ci / aarch64-linux-debug (pull_request) Failing after 1h51m11s
ci / powerpc64le-linux-debug (pull_request) Failing after 3h35m4s
ci / loongarch64-linux-release (pull_request) Failing after 1h39m12s
ci / loongarch64-linux-debug (pull_request) Failing after 2h9m22s
ci / aarch64-freebsd-debug (pull_request) Has been cancelled
ci / aarch64-freebsd-release (pull_request) Has been cancelled
ci / aarch64-netbsd-debug (pull_request) Has been cancelled
ci / aarch64-netbsd-release (pull_request) Has been cancelled
ci / riscv64-linux-debug (pull_request) Has been cancelled
ci / riscv64-linux-release (pull_request) Has been cancelled
35a98f2ba7
First-time contributor

Is there a long-term reason that that Maker needs to be compiled at first use, and not simply being built in like zig maker or whatever? (I understand that it is much easier to hack on it during development this way!). As it lives in global cache and not per-project cache, it doesn't depend on any project specific options, no?

Is there a long-term reason that that Maker needs to be compiled at first use, and not simply being built in like `zig maker` or whatever? (I understand that it is much easier to hack on it during development this way!). As it lives in global cache and not per-project cache, it doesn't depend on any project specific options, no?
First-time contributor

@bfredl I think the reasoning here would be the same as for other subcommands like zig cc, zig libc, zig objcopy etc. being compiled on-demand instead of included in the zig binary. As far as I'm aware:

  • ability to optimize further (based exactly on user's target: os/environment, cpu model)
  • smaller binary / download size for zig itself
  • support easier hacking
@bfredl I think the reasoning here would be the same as for other subcommands like `zig cc`, `zig libc`, `zig objcopy` etc. being compiled on-demand instead of included in the `zig` binary. As far as I'm aware: - ability to optimize further (based exactly on user's target: os/environment, cpu model) - smaller binary / download size for `zig` itself - support easier hacking
andrewrk force-pushed build-runner-process from 35a98f2ba7
Some checks failed
ci / x86_64-netbsd-release (pull_request) Failing after 5m13s
ci / x86_64-freebsd-release (pull_request) Failing after 4m59s
ci / x86_64-freebsd-debug (pull_request) Failing after 5m36s
ci / x86_64-netbsd-debug (pull_request) Failing after 6m5s
ci / aarch64-macos-release (pull_request) Failing after 6m5s
ci / x86_64-openbsd-release (pull_request) Failing after 6m0s
ci / x86_64-windows-release (pull_request) Failing after 6m19s
ci / aarch64-macos-debug (pull_request) Failing after 6m33s
ci / x86_64-windows-debug (pull_request) Failing after 7m14s
ci / x86_64-openbsd-debug (pull_request) Failing after 7m11s
ci / s390x-linux-release (pull_request) Failing after 12m3s
ci / s390x-linux-debug (pull_request) Failing after 13m42s
ci / x86_64-linux-debug (pull_request) Failing after 18m47s
ci / x86_64-linux-debug-llvm (pull_request) Failing after 24m27s
ci / x86_64-linux-release (pull_request) Failing after 45m46s
ci / aarch64-linux-release (pull_request) Failing after 1h2m33s
ci / powerpc64le-linux-release (pull_request) Failing after 1h13m13s
ci / aarch64-linux-debug (pull_request) Failing after 1h51m11s
ci / powerpc64le-linux-debug (pull_request) Failing after 3h35m4s
ci / loongarch64-linux-release (pull_request) Failing after 1h39m12s
ci / loongarch64-linux-debug (pull_request) Failing after 2h9m22s
ci / aarch64-freebsd-debug (pull_request) Has been cancelled
ci / aarch64-freebsd-release (pull_request) Has been cancelled
ci / aarch64-netbsd-debug (pull_request) Has been cancelled
ci / aarch64-netbsd-release (pull_request) Has been cancelled
ci / riscv64-linux-debug (pull_request) Has been cancelled
ci / riscv64-linux-release (pull_request) Has been cancelled
to 0d5f203baf
Some checks failed
ci / x86_64-freebsd-release (pull_request) Failing after 5m23s
ci / x86_64-netbsd-release (pull_request) Failing after 5m45s
ci / x86_64-freebsd-debug (pull_request) Failing after 6m18s
ci / x86_64-netbsd-debug (pull_request) Failing after 6m20s
ci / aarch64-macos-release (pull_request) Failing after 6m44s
ci / x86_64-openbsd-release (pull_request) Failing after 6m44s
ci / aarch64-macos-debug (pull_request) Failing after 7m16s
ci / x86_64-windows-release (pull_request) Failing after 6m41s
ci / x86_64-openbsd-debug (pull_request) Failing after 7m49s
ci / x86_64-windows-debug (pull_request) Failing after 7m43s
ci / s390x-linux-release (pull_request) Failing after 12m51s
ci / s390x-linux-debug (pull_request) Failing after 13m53s
ci / x86_64-linux-debug (pull_request) Failing after 22m43s
ci / x86_64-linux-debug-llvm (pull_request) Failing after 31m40s
ci / x86_64-linux-release (pull_request) Failing after 36m36s
ci / aarch64-linux-release (pull_request) Failing after 1h18m54s
ci / powerpc64le-linux-release (pull_request) Failing after 1h35m41s
ci / aarch64-freebsd-debug (pull_request) Has been cancelled
ci / aarch64-freebsd-release (pull_request) Has been cancelled
ci / aarch64-netbsd-debug (pull_request) Has been cancelled
ci / aarch64-netbsd-release (pull_request) Has been cancelled
ci / riscv64-linux-debug (pull_request) Has been cancelled
ci / riscv64-linux-release (pull_request) Has been cancelled
ci / aarch64-linux-debug (pull_request) Has been cancelled
ci / loongarch64-linux-debug (pull_request) Has been cancelled
ci / powerpc64le-linux-debug (pull_request) Has been cancelled
ci / loongarch64-linux-release (pull_request) Has been cancelled
2026-05-23 21:19:26 +02:00
Compare
Owner

@andrewrk wrote in #35428 (comment):

  • When targeting Windows or Wine, artifact args added to Run steps used to
    modify PATH based on the set of directories containing the recursive set of
    DLL dependencies. Now this is only done for argv[0]. The motivation for the
    former behavior is unclear.

Isn't this change going to cause transitive dependency DLLs to fail to load?

@andrewrk wrote in https://codeberg.org/ziglang/zig/pulls/35428#issue-5273132: > * When targeting Windows or Wine, artifact args added to Run steps used to > modify PATH based on the set of directories containing the recursive set of > DLL dependencies. Now this is only done for argv[0]. The motivation for the > former behavior is unclear. Isn't this change going to cause transitive dependency DLLs to fail to load?
Author
Owner

Isn't this change going to cause transitive dependency DLLs to fail to load?

The difference is not in recursiveness, it is in whether the logic is done for only argv[0], or for argv[0] and also artifact args added to argv.

> Isn't this change going to cause transitive dependency DLLs to fail to load? The difference is not in recursiveness, it is in whether the logic is done for only argv[0], or for argv[0] and also artifact args added to argv.
Maker: fix compilation on BSDs
Some checks failed
ci / s390x-linux-release (pull_request) Failing after 15m50s
ci / s390x-linux-debug (pull_request) Failing after 16m21s
ci / x86_64-freebsd-release (pull_request) Failing after 28m5s
ci / x86_64-netbsd-release (pull_request) Failing after 31m8s
ci / x86_64-windows-release (pull_request) Failing after 49m2s
ci / x86_64-freebsd-debug (pull_request) Failing after 52m34s
ci / x86_64-openbsd-release (pull_request) Failing after 52m42s
ci / x86_64-netbsd-debug (pull_request) Failing after 45m2s
ci / aarch64-macos-release (pull_request) Failing after 59m56s
ci / x86_64-openbsd-debug (pull_request) Failing after 1h10m15s
ci / aarch64-linux-release (pull_request) Failing after 1h14m19s
ci / aarch64-freebsd-debug (pull_request) Has been cancelled
ci / aarch64-freebsd-release (pull_request) Has been cancelled
ci / aarch64-netbsd-debug (pull_request) Has been cancelled
ci / aarch64-netbsd-release (pull_request) Has been cancelled
ci / loongarch64-linux-debug (pull_request) Has been cancelled
ci / loongarch64-linux-release (pull_request) Has been cancelled
ci / riscv64-linux-debug (pull_request) Has been cancelled
ci / riscv64-linux-release (pull_request) Has been cancelled
ci / x86_64-linux-debug-llvm (pull_request) Has been cancelled
ci / aarch64-macos-debug (pull_request) Has been cancelled
ci / x86_64-linux-debug (pull_request) Has been cancelled
ci / aarch64-linux-debug (pull_request) Has been cancelled
ci / powerpc64le-linux-release (pull_request) Has been cancelled
ci / x86_64-windows-debug (pull_request) Has been cancelled
ci / x86_64-linux-release (pull_request) Has been cancelled
ci / powerpc64le-linux-debug (pull_request) Has been cancelled
a9e58e2db1
the --debug- prefixed args are reserved for compiler debugging flags.
Maker: fix resolveLazyPath accidental mutation
Some checks failed
ci / s390x-linux-debug (pull_request) Failing after 14m52s
ci / s390x-linux-release (pull_request) Failing after 15m1s
ci / x86_64-netbsd-release (pull_request) Failing after 27m50s
ci / x86_64-freebsd-release (pull_request) Failing after 31m56s
ci / x86_64-freebsd-debug (pull_request) Failing after 39m27s
ci / x86_64-netbsd-debug (pull_request) Failing after 39m42s
ci / x86_64-openbsd-release (pull_request) Failing after 42m9s
ci / x86_64-openbsd-debug (pull_request) Failing after 43m42s
ci / aarch64-macos-release (pull_request) Failing after 44m12s
ci / x86_64-windows-release (pull_request) Failing after 44m27s
ci / x86_64-windows-debug (pull_request) Failing after 54m46s
ci / x86_64-linux-debug (pull_request) Failing after 57m1s
ci / aarch64-macos-debug (pull_request) Failing after 1h3m31s
ci / aarch64-freebsd-debug (pull_request) Has been cancelled
ci / aarch64-freebsd-release (pull_request) Has been cancelled
ci / aarch64-netbsd-debug (pull_request) Has been cancelled
ci / aarch64-netbsd-release (pull_request) Has been cancelled
ci / loongarch64-linux-debug (pull_request) Has been cancelled
ci / loongarch64-linux-release (pull_request) Has been cancelled
ci / riscv64-linux-debug (pull_request) Has been cancelled
ci / riscv64-linux-release (pull_request) Has been cancelled
ci / x86_64-linux-release (pull_request) Has been cancelled
ci / powerpc64le-linux-release (pull_request) Has been cancelled
ci / aarch64-linux-debug (pull_request) Has been cancelled
ci / x86_64-linux-debug-llvm (pull_request) Has been cancelled
ci / aarch64-linux-release (pull_request) Has been cancelled
ci / powerpc64le-linux-debug (pull_request) Has been cancelled
5fd0284c5f
Maker: fix regressed dyn lib symlink logic
Some checks failed
ci / x86_64-freebsd-release (pull_request) Failing after 24m44s
ci / x86_64-netbsd-release (pull_request) Failing after 26m30s
ci / x86_64-openbsd-release (pull_request) Failing after 29m11s
ci / aarch64-freebsd-debug (pull_request) Has been cancelled
ci / aarch64-freebsd-release (pull_request) Has been cancelled
ci / aarch64-netbsd-debug (pull_request) Has been cancelled
ci / aarch64-netbsd-release (pull_request) Has been cancelled
ci / loongarch64-linux-release (pull_request) Has been cancelled
ci / riscv64-linux-debug (pull_request) Has been cancelled
ci / riscv64-linux-release (pull_request) Has been cancelled
ci / x86_64-linux-release (pull_request) Has been cancelled
ci / x86_64-windows-release (pull_request) Has been cancelled
ci / x86_64-openbsd-debug (pull_request) Has been cancelled
ci / aarch64-linux-release (pull_request) Has been cancelled
ci / aarch64-linux-debug (pull_request) Has been cancelled
ci / loongarch64-linux-debug (pull_request) Has been cancelled
ci / x86_64-linux-debug-llvm (pull_request) Has been cancelled
ci / x86_64-freebsd-debug (pull_request) Has been cancelled
ci / x86_64-windows-debug (pull_request) Has been cancelled
ci / x86_64-netbsd-debug (pull_request) Has been cancelled
ci / x86_64-linux-debug (pull_request) Has been cancelled
ci / s390x-linux-debug (pull_request) Has been cancelled
ci / s390x-linux-release (pull_request) Has been cancelled
ci / aarch64-macos-release (pull_request) Has been cancelled
ci / aarch64-macos-debug (pull_request) Has been cancelled
ci / powerpc64le-linux-release (pull_request) Has been cancelled
ci / powerpc64le-linux-debug (pull_request) Has been cancelled
5c6f92c004
Maker.Step.WriteFile: fix not creating dir entries
Some checks failed
ci / x86_64-netbsd-release (pull_request) Failing after 29m32s
ci / x86_64-freebsd-release (pull_request) Failing after 30m0s
ci / aarch64-macos-release (pull_request) Failing after 49m5s
ci / x86_64-windows-release (pull_request) Failing after 50m31s
ci / x86_64-linux-debug (pull_request) Successful in 50m39s
ci / x86_64-openbsd-release (pull_request) Successful in 53m58s
ci / x86_64-netbsd-debug (pull_request) Successful in 57m34s
ci / x86_64-openbsd-debug (pull_request) Successful in 1h1m18s
ci / x86_64-freebsd-debug (pull_request) Successful in 1h5m41s
ci / x86_64-windows-debug (pull_request) Failing after 1h12m51s
ci / s390x-linux-release (pull_request) Successful in 1h24m14s
ci / aarch64-macos-debug (pull_request) Successful in 1h34m30s
ci / aarch64-linux-release (pull_request) Successful in 1h39m9s
ci / x86_64-linux-debug-llvm (pull_request) Failing after 2h1m25s
ci / powerpc64le-linux-release (pull_request) Successful in 2h20m49s
ci / aarch64-linux-debug (pull_request) Successful in 2h27m11s
ci / s390x-linux-debug (pull_request) Successful in 2h31m55s
ci / loongarch64-linux-release (pull_request) Successful in 2h13m58s
ci / x86_64-linux-release (pull_request) Failing after 2h56m45s
ci / loongarch64-linux-debug (pull_request) Successful in 3h28m40s
ci / powerpc64le-linux-debug (pull_request) Successful in 3h49m21s
ci / aarch64-freebsd-debug (pull_request) Has been cancelled
ci / aarch64-freebsd-release (pull_request) Has been cancelled
ci / aarch64-netbsd-debug (pull_request) Has been cancelled
ci / aarch64-netbsd-release (pull_request) Has been cancelled
ci / riscv64-linux-debug (pull_request) Has been cancelled
ci / riscv64-linux-release (pull_request) Has been cancelled
74bbcf9364
it says it right there in the echo text afterwards
fuzzer: get it working again
Some checks failed
ci / x86_64-windows-release (pull_request) Failing after 35m34s
ci / x86_64-netbsd-release (pull_request) Successful in 40m17s
ci / x86_64-netbsd-debug (pull_request) Successful in 44m15s
ci / x86_64-openbsd-release (pull_request) Successful in 44m7s
ci / x86_64-freebsd-release (pull_request) Successful in 44m48s
ci / x86_64-freebsd-debug (pull_request) Successful in 45m4s
ci / aarch64-macos-release (pull_request) Successful in 52m41s
ci / x86_64-openbsd-debug (pull_request) Successful in 55m13s
ci / x86_64-windows-debug (pull_request) Failing after 59m55s
ci / aarch64-macos-debug (pull_request) Successful in 1h9m40s
ci / x86_64-linux-debug (pull_request) Successful in 1h14m17s
ci / s390x-linux-release (pull_request) Successful in 1h26m26s
ci / aarch64-linux-release (pull_request) Successful in 1h26m42s
ci / powerpc64le-linux-release (pull_request) Successful in 2h25m28s
ci / s390x-linux-debug (pull_request) Successful in 2h27m15s
ci / aarch64-linux-debug (pull_request) Successful in 2h36m31s
ci / x86_64-linux-debug-llvm (pull_request) Failing after 2h46m9s
ci / loongarch64-linux-release (pull_request) Successful in 1h53m12s
ci / x86_64-linux-release (pull_request) Successful in 3h3m55s
ci / loongarch64-linux-debug (pull_request) Successful in 3h10m9s
ci / powerpc64le-linux-debug (pull_request) Successful in 4h17m34s
ci / riscv64-linux-debug (pull_request) Has been skipped
ci / riscv64-linux-release (pull_request) Has been skipped
ci / aarch64-freebsd-debug (pull_request) Has been cancelled
ci / aarch64-freebsd-release (pull_request) Has been cancelled
ci / aarch64-netbsd-debug (pull_request) Has been cancelled
ci / aarch64-netbsd-release (pull_request) Has been cancelled
a355bd316e
andrewrk force-pushed build-runner-process from a355bd316e
Some checks failed
ci / x86_64-windows-release (pull_request) Failing after 35m34s
ci / x86_64-netbsd-release (pull_request) Successful in 40m17s
ci / x86_64-netbsd-debug (pull_request) Successful in 44m15s
ci / x86_64-openbsd-release (pull_request) Successful in 44m7s
ci / x86_64-freebsd-release (pull_request) Successful in 44m48s
ci / x86_64-freebsd-debug (pull_request) Successful in 45m4s
ci / aarch64-macos-release (pull_request) Successful in 52m41s
ci / x86_64-openbsd-debug (pull_request) Successful in 55m13s
ci / x86_64-windows-debug (pull_request) Failing after 59m55s
ci / aarch64-macos-debug (pull_request) Successful in 1h9m40s
ci / x86_64-linux-debug (pull_request) Successful in 1h14m17s
ci / s390x-linux-release (pull_request) Successful in 1h26m26s
ci / aarch64-linux-release (pull_request) Successful in 1h26m42s
ci / powerpc64le-linux-release (pull_request) Successful in 2h25m28s
ci / s390x-linux-debug (pull_request) Successful in 2h27m15s
ci / aarch64-linux-debug (pull_request) Successful in 2h36m31s
ci / x86_64-linux-debug-llvm (pull_request) Failing after 2h46m9s
ci / loongarch64-linux-release (pull_request) Successful in 1h53m12s
ci / x86_64-linux-release (pull_request) Successful in 3h3m55s
ci / loongarch64-linux-debug (pull_request) Successful in 3h10m9s
ci / powerpc64le-linux-debug (pull_request) Successful in 4h17m34s
ci / riscv64-linux-debug (pull_request) Has been skipped
ci / riscv64-linux-release (pull_request) Has been skipped
ci / aarch64-freebsd-debug (pull_request) Has been cancelled
ci / aarch64-freebsd-release (pull_request) Has been cancelled
ci / aarch64-netbsd-debug (pull_request) Has been cancelled
ci / aarch64-netbsd-release (pull_request) Has been cancelled
to a27b0ba5c5
Some checks failed
ci / riscv64-linux-debug (pull_request) Has been skipped
ci / riscv64-linux-release (pull_request) Has been skipped
ci / x86_64-windows-release (pull_request) Failing after 35m49s
ci / x86_64-freebsd-release (pull_request) Successful in 45m22s
ci / x86_64-netbsd-release (pull_request) Successful in 43m14s
ci / x86_64-netbsd-debug (pull_request) Successful in 46m8s
ci / x86_64-freebsd-debug (pull_request) Successful in 46m48s
ci / x86_64-openbsd-release (pull_request) Successful in 47m15s
ci / x86_64-linux-debug (pull_request) Successful in 53m37s
ci / x86_64-windows-debug (pull_request) Failing after 57m54s
ci / aarch64-macos-release (pull_request) Successful in 58m20s
ci / x86_64-openbsd-debug (pull_request) Successful in 58m26s
ci / aarch64-macos-debug (pull_request) Successful in 1h15m26s
ci / aarch64-linux-release (pull_request) Successful in 1h27m46s
ci / s390x-linux-release (pull_request) Successful in 1h45m46s
ci / powerpc64le-linux-release (pull_request) Successful in 2h2m43s
ci / aarch64-linux-debug (pull_request) Successful in 2h34m31s
ci / x86_64-linux-release (pull_request) Successful in 2h40m50s
ci / x86_64-linux-debug-llvm (pull_request) Successful in 2h43m34s
ci / loongarch64-linux-release (pull_request) Successful in 1h49m24s
ci / s390x-linux-debug (pull_request) Successful in 2h55m9s
ci / loongarch64-linux-debug (pull_request) Successful in 3h5m44s
ci / powerpc64le-linux-debug (pull_request) Successful in 4h41m33s
ci / aarch64-freebsd-debug (pull_request) Has been cancelled
ci / aarch64-freebsd-release (pull_request) Has been cancelled
ci / aarch64-netbsd-release (pull_request) Has been cancelled
ci / aarch64-netbsd-debug (pull_request) Has been cancelled
2026-05-24 22:59:13 +02:00
Compare
andrewrk force-pushed build-runner-process from a27b0ba5c5
Some checks failed
ci / riscv64-linux-debug (pull_request) Has been skipped
ci / riscv64-linux-release (pull_request) Has been skipped
ci / x86_64-windows-release (pull_request) Failing after 35m49s
ci / x86_64-freebsd-release (pull_request) Successful in 45m22s
ci / x86_64-netbsd-release (pull_request) Successful in 43m14s
ci / x86_64-netbsd-debug (pull_request) Successful in 46m8s
ci / x86_64-freebsd-debug (pull_request) Successful in 46m48s
ci / x86_64-openbsd-release (pull_request) Successful in 47m15s
ci / x86_64-linux-debug (pull_request) Successful in 53m37s
ci / x86_64-windows-debug (pull_request) Failing after 57m54s
ci / aarch64-macos-release (pull_request) Successful in 58m20s
ci / x86_64-openbsd-debug (pull_request) Successful in 58m26s
ci / aarch64-macos-debug (pull_request) Successful in 1h15m26s
ci / aarch64-linux-release (pull_request) Successful in 1h27m46s
ci / s390x-linux-release (pull_request) Successful in 1h45m46s
ci / powerpc64le-linux-release (pull_request) Successful in 2h2m43s
ci / aarch64-linux-debug (pull_request) Successful in 2h34m31s
ci / x86_64-linux-release (pull_request) Successful in 2h40m50s
ci / x86_64-linux-debug-llvm (pull_request) Successful in 2h43m34s
ci / loongarch64-linux-release (pull_request) Successful in 1h49m24s
ci / s390x-linux-debug (pull_request) Successful in 2h55m9s
ci / loongarch64-linux-debug (pull_request) Successful in 3h5m44s
ci / powerpc64le-linux-debug (pull_request) Successful in 4h41m33s
ci / aarch64-freebsd-debug (pull_request) Has been cancelled
ci / aarch64-freebsd-release (pull_request) Has been cancelled
ci / aarch64-netbsd-release (pull_request) Has been cancelled
ci / aarch64-netbsd-debug (pull_request) Has been cancelled
to ecf7c2f621
All checks were successful
ci / riscv64-linux-debug (pull_request) Has been skipped
ci / riscv64-linux-release (pull_request) Has been skipped
ci / x86_64-netbsd-debug (pull_request) Successful in 41m44s
ci / x86_64-netbsd-release (pull_request) Successful in 42m22s
ci / x86_64-freebsd-release (pull_request) Successful in 44m58s
ci / x86_64-freebsd-debug (pull_request) Successful in 45m2s
ci / x86_64-openbsd-release (pull_request) Successful in 45m48s
ci / x86_64-windows-debug (pull_request) Successful in 48m51s
ci / x86_64-openbsd-debug (pull_request) Successful in 49m24s
ci / x86_64-windows-release (pull_request) Successful in 50m33s
ci / x86_64-linux-debug (pull_request) Successful in 1h7m39s
ci / aarch64-macos-release (pull_request) Successful in 1h15m37s
ci / aarch64-macos-debug (pull_request) Successful in 1h24m52s
ci / aarch64-linux-release (pull_request) Successful in 1h33m49s
ci / s390x-linux-release (pull_request) Successful in 1h45m58s
ci / loongarch64-linux-release (pull_request) Successful in 2h8m8s
ci / powerpc64le-linux-release (pull_request) Successful in 2h13m14s
ci / aarch64-linux-debug (pull_request) Successful in 2h20m34s
ci / x86_64-linux-debug-llvm (pull_request) Successful in 2h37m33s
ci / s390x-linux-debug (pull_request) Successful in 2h37m55s
ci / x86_64-linux-release (pull_request) Successful in 3h24m17s
ci / loongarch64-linux-debug (pull_request) Successful in 3h28m39s
ci / powerpc64le-linux-debug (pull_request) Successful in 3h30m38s
ci / aarch64-netbsd-release (pull_request) Successful in 3h26m59s
ci / aarch64-netbsd-debug (pull_request) Successful in 4h44m53s
ci / aarch64-freebsd-release (pull_request) Successful in 3h15m9s
ci / aarch64-freebsd-debug (pull_request) Successful in 4h47m21s
2026-05-25 08:25:28 +02:00
Compare
andrewrk force-pushed build-runner-process from ecf7c2f621
All checks were successful
ci / riscv64-linux-debug (pull_request) Has been skipped
ci / riscv64-linux-release (pull_request) Has been skipped
ci / x86_64-netbsd-debug (pull_request) Successful in 41m44s
ci / x86_64-netbsd-release (pull_request) Successful in 42m22s
ci / x86_64-freebsd-release (pull_request) Successful in 44m58s
ci / x86_64-freebsd-debug (pull_request) Successful in 45m2s
ci / x86_64-openbsd-release (pull_request) Successful in 45m48s
ci / x86_64-windows-debug (pull_request) Successful in 48m51s
ci / x86_64-openbsd-debug (pull_request) Successful in 49m24s
ci / x86_64-windows-release (pull_request) Successful in 50m33s
ci / x86_64-linux-debug (pull_request) Successful in 1h7m39s
ci / aarch64-macos-release (pull_request) Successful in 1h15m37s
ci / aarch64-macos-debug (pull_request) Successful in 1h24m52s
ci / aarch64-linux-release (pull_request) Successful in 1h33m49s
ci / s390x-linux-release (pull_request) Successful in 1h45m58s
ci / loongarch64-linux-release (pull_request) Successful in 2h8m8s
ci / powerpc64le-linux-release (pull_request) Successful in 2h13m14s
ci / aarch64-linux-debug (pull_request) Successful in 2h20m34s
ci / x86_64-linux-debug-llvm (pull_request) Successful in 2h37m33s
ci / s390x-linux-debug (pull_request) Successful in 2h37m55s
ci / x86_64-linux-release (pull_request) Successful in 3h24m17s
ci / loongarch64-linux-debug (pull_request) Successful in 3h28m39s
ci / powerpc64le-linux-debug (pull_request) Successful in 3h30m38s
ci / aarch64-netbsd-release (pull_request) Successful in 3h26m59s
ci / aarch64-netbsd-debug (pull_request) Successful in 4h44m53s
ci / aarch64-freebsd-release (pull_request) Successful in 3h15m9s
ci / aarch64-freebsd-debug (pull_request) Successful in 4h47m21s
to 8ce996a8c9
Some checks failed
ci / riscv64-linux-debug (pull_request) Has been skipped
ci / riscv64-linux-release (pull_request) Has been skipped
ci / x86_64-linux-release (pull_request) Failing after 2m3s
ci / x86_64-freebsd-release (pull_request) Failing after 2m5s
ci / x86_64-netbsd-release (pull_request) Failing after 3m4s
ci / x86_64-freebsd-debug (pull_request) Failing after 3m3s
ci / x86_64-netbsd-debug (pull_request) Failing after 3m54s
ci / x86_64-openbsd-release (pull_request) Failing after 3m3s
ci / x86_64-linux-debug-llvm (pull_request) Failing after 4m18s
ci / aarch64-macos-release (pull_request) Failing after 4m52s
ci / x86_64-windows-release (pull_request) Failing after 4m32s
ci / x86_64-openbsd-debug (pull_request) Failing after 4m9s
ci / aarch64-macos-debug (pull_request) Failing after 5m37s
ci / x86_64-windows-debug (pull_request) Failing after 5m48s
ci / s390x-linux-release (pull_request) Failing after 7m5s
ci / aarch64-freebsd-debug (pull_request) Has been cancelled
ci / aarch64-freebsd-release (pull_request) Has been cancelled
ci / aarch64-netbsd-debug (pull_request) Has been cancelled
ci / aarch64-netbsd-release (pull_request) Has been cancelled
ci / loongarch64-linux-debug (pull_request) Has been cancelled
ci / loongarch64-linux-release (pull_request) Has been cancelled
ci / s390x-linux-debug (pull_request) Has been cancelled
ci / powerpc64le-linux-debug (pull_request) Has been cancelled
ci / aarch64-linux-debug (pull_request) Has been cancelled
ci / aarch64-linux-release (pull_request) Has been cancelled
ci / x86_64-linux-debug (pull_request) Has been cancelled
ci / powerpc64le-linux-release (pull_request) Has been cancelled
2026-05-25 22:26:24 +02:00
Compare
andrewrk force-pushed build-runner-process from 8ce996a8c9
Some checks failed
ci / riscv64-linux-debug (pull_request) Has been skipped
ci / riscv64-linux-release (pull_request) Has been skipped
ci / x86_64-linux-release (pull_request) Failing after 2m3s
ci / x86_64-freebsd-release (pull_request) Failing after 2m5s
ci / x86_64-netbsd-release (pull_request) Failing after 3m4s
ci / x86_64-freebsd-debug (pull_request) Failing after 3m3s
ci / x86_64-netbsd-debug (pull_request) Failing after 3m54s
ci / x86_64-openbsd-release (pull_request) Failing after 3m3s
ci / x86_64-linux-debug-llvm (pull_request) Failing after 4m18s
ci / aarch64-macos-release (pull_request) Failing after 4m52s
ci / x86_64-windows-release (pull_request) Failing after 4m32s
ci / x86_64-openbsd-debug (pull_request) Failing after 4m9s
ci / aarch64-macos-debug (pull_request) Failing after 5m37s
ci / x86_64-windows-debug (pull_request) Failing after 5m48s
ci / s390x-linux-release (pull_request) Failing after 7m5s
ci / aarch64-freebsd-debug (pull_request) Has been cancelled
ci / aarch64-freebsd-release (pull_request) Has been cancelled
ci / aarch64-netbsd-debug (pull_request) Has been cancelled
ci / aarch64-netbsd-release (pull_request) Has been cancelled
ci / loongarch64-linux-debug (pull_request) Has been cancelled
ci / loongarch64-linux-release (pull_request) Has been cancelled
ci / s390x-linux-debug (pull_request) Has been cancelled
ci / powerpc64le-linux-debug (pull_request) Has been cancelled
ci / aarch64-linux-debug (pull_request) Has been cancelled
ci / aarch64-linux-release (pull_request) Has been cancelled
ci / x86_64-linux-debug (pull_request) Has been cancelled
ci / powerpc64le-linux-release (pull_request) Has been cancelled
to 4438a3faa4
Some checks failed
ci / riscv64-linux-debug (pull_request) Has been skipped
ci / riscv64-linux-release (pull_request) Has been skipped
ci / s390x-linux-release (pull_request) Failing after 12m33s
ci / s390x-linux-debug (pull_request) Failing after 14m5s
ci / x86_64-netbsd-release (pull_request) Successful in 43m29s
ci / x86_64-netbsd-debug (pull_request) Successful in 43m53s
ci / x86_64-freebsd-release (pull_request) Successful in 45m36s
ci / x86_64-freebsd-debug (pull_request) Successful in 46m12s
ci / x86_64-openbsd-release (pull_request) Successful in 45m30s
ci / x86_64-openbsd-debug (pull_request) Successful in 49m59s
ci / x86_64-windows-debug (pull_request) Successful in 51m24s
ci / x86_64-windows-release (pull_request) Successful in 51m47s
ci / aarch64-macos-release (pull_request) Successful in 1h5m40s
ci / aarch64-macos-debug (pull_request) Successful in 1h17m26s
ci / aarch64-freebsd-debug (pull_request) Has been cancelled
ci / aarch64-freebsd-release (pull_request) Has been cancelled
ci / aarch64-netbsd-debug (pull_request) Has been cancelled
ci / aarch64-netbsd-release (pull_request) Has been cancelled
ci / loongarch64-linux-debug (pull_request) Has been cancelled
ci / loongarch64-linux-release (pull_request) Has been cancelled
ci / powerpc64le-linux-debug (pull_request) Has been cancelled
ci / powerpc64le-linux-release (pull_request) Has been cancelled
ci / aarch64-linux-debug (pull_request) Has been cancelled
ci / aarch64-linux-release (pull_request) Has been cancelled
ci / x86_64-linux-debug (pull_request) Has been cancelled
ci / x86_64-linux-debug-llvm (pull_request) Has been cancelled
ci / x86_64-linux-release (pull_request) Has been cancelled
2026-05-25 22:33:54 +02:00
Compare
There is no concept of a "build runner" any more; it has been split in two:
configurer and maker.

Users of this feature will likely want to no longer override any logic, and
instead consume the configuration file produced by configurer.

If overriding one or the other of these is desired, the feature will need to be
re-introduced (as --override-maker or --override-configurer).
On s390x the cache line size is 256 so this check was failing. That's
not useful, just check only for more common cache line sizes.
Maker: restore commit: clear step inputs when resetting the step
Some checks failed
ci / riscv64-linux-debug (pull_request) Has been skipped
ci / riscv64-linux-release (pull_request) Has been skipped
ci / x86_64-windows-release (pull_request) Successful in 52m28s
ci / x86_64-netbsd-release (pull_request) Successful in 54m52s
ci / x86_64-netbsd-debug (pull_request) Successful in 57m12s
ci / aarch64-macos-release (pull_request) Successful in 58m42s
ci / x86_64-freebsd-release (pull_request) Successful in 59m27s
ci / x86_64-freebsd-debug (pull_request) Successful in 1h3m42s
ci / x86_64-openbsd-release (pull_request) Successful in 1h4m8s
ci / x86_64-openbsd-debug (pull_request) Successful in 1h12m8s
ci / aarch64-macos-debug (pull_request) Successful in 1h16m3s
ci / aarch64-linux-release (pull_request) Successful in 1h27m30s
ci / x86_64-windows-debug (pull_request) Successful in 1h27m41s
ci / x86_64-linux-debug (pull_request) Successful in 1h31m8s
ci / s390x-linux-release (pull_request) Successful in 1h40m33s
ci / powerpc64le-linux-release (pull_request) Successful in 2h12m23s
ci / s390x-linux-debug (pull_request) Successful in 2h12m20s
ci / aarch64-linux-debug (pull_request) Successful in 2h22m36s
ci / powerpc64le-linux-debug (pull_request) Successful in 3h28m1s
ci / loongarch64-linux-release (pull_request) Successful in 2h16m46s
ci / aarch64-freebsd-debug (pull_request) Has been cancelled
ci / aarch64-freebsd-release (pull_request) Has been cancelled
ci / aarch64-netbsd-debug (pull_request) Has been cancelled
ci / aarch64-netbsd-release (pull_request) Has been cancelled
ci / x86_64-linux-release (pull_request) Has been cancelled
ci / loongarch64-linux-debug (pull_request) Has been cancelled
ci / x86_64-linux-debug-llvm (pull_request) Has been cancelled
3beaf781ca
I'm a bit confused because my understanding is that each step is
supposed to make its own decision about whether to clear its watch
inputs and start over, or retain them from the previous update. However,
without this fix in place, the problem from #35224 manifests itself
again.

Since this fix is in place in master branch, I'll leave it for now and
audit the file watching logic later.
andrewrk force-pushed build-runner-process from 3beaf781ca
Some checks failed
ci / riscv64-linux-debug (pull_request) Has been skipped
ci / riscv64-linux-release (pull_request) Has been skipped
ci / x86_64-windows-release (pull_request) Successful in 52m28s
ci / x86_64-netbsd-release (pull_request) Successful in 54m52s
ci / x86_64-netbsd-debug (pull_request) Successful in 57m12s
ci / aarch64-macos-release (pull_request) Successful in 58m42s
ci / x86_64-freebsd-release (pull_request) Successful in 59m27s
ci / x86_64-freebsd-debug (pull_request) Successful in 1h3m42s
ci / x86_64-openbsd-release (pull_request) Successful in 1h4m8s
ci / x86_64-openbsd-debug (pull_request) Successful in 1h12m8s
ci / aarch64-macos-debug (pull_request) Successful in 1h16m3s
ci / aarch64-linux-release (pull_request) Successful in 1h27m30s
ci / x86_64-windows-debug (pull_request) Successful in 1h27m41s
ci / x86_64-linux-debug (pull_request) Successful in 1h31m8s
ci / s390x-linux-release (pull_request) Successful in 1h40m33s
ci / powerpc64le-linux-release (pull_request) Successful in 2h12m23s
ci / s390x-linux-debug (pull_request) Successful in 2h12m20s
ci / aarch64-linux-debug (pull_request) Successful in 2h22m36s
ci / powerpc64le-linux-debug (pull_request) Successful in 3h28m1s
ci / loongarch64-linux-release (pull_request) Successful in 2h16m46s
ci / aarch64-freebsd-debug (pull_request) Has been cancelled
ci / aarch64-freebsd-release (pull_request) Has been cancelled
ci / aarch64-netbsd-debug (pull_request) Has been cancelled
ci / aarch64-netbsd-release (pull_request) Has been cancelled
ci / x86_64-linux-release (pull_request) Has been cancelled
ci / loongarch64-linux-debug (pull_request) Has been cancelled
ci / x86_64-linux-debug-llvm (pull_request) Has been cancelled
to 9571cba45b
Some checks failed
ci / aarch64-macos-release (pull_request) Failing after 23m48s
ci / aarch64-macos-debug (pull_request) Failing after 26m18s
ci / aarch64-freebsd-debug (pull_request) Has been cancelled
ci / aarch64-freebsd-release (pull_request) Has been cancelled
ci / aarch64-netbsd-debug (pull_request) Has been cancelled
ci / aarch64-netbsd-release (pull_request) Has been cancelled
ci / loongarch64-linux-debug (pull_request) Has been cancelled
ci / loongarch64-linux-release (pull_request) Has been cancelled
ci / riscv64-linux-debug (pull_request) Has been cancelled
ci / riscv64-linux-release (pull_request) Has been cancelled
ci / s390x-linux-debug (pull_request) Has been cancelled
ci / s390x-linux-release (pull_request) Has been cancelled
ci / x86_64-freebsd-debug (pull_request) Has been cancelled
ci / x86_64-freebsd-release (pull_request) Has been cancelled
ci / x86_64-linux-debug (pull_request) Has been cancelled
ci / x86_64-linux-debug-llvm (pull_request) Has been cancelled
ci / x86_64-linux-release (pull_request) Has been cancelled
ci / x86_64-netbsd-debug (pull_request) Has been cancelled
ci / x86_64-netbsd-release (pull_request) Has been cancelled
ci / x86_64-openbsd-debug (pull_request) Has been cancelled
ci / x86_64-openbsd-release (pull_request) Has been cancelled
ci / x86_64-windows-debug (pull_request) Has been cancelled
ci / x86_64-windows-release (pull_request) Has been cancelled
ci / aarch64-linux-release (pull_request) Has been cancelled
ci / aarch64-linux-debug (pull_request) Has been cancelled
ci / powerpc64le-linux-release (pull_request) Has been cancelled
ci / powerpc64le-linux-debug (pull_request) Has been cancelled
2026-05-26 03:56:20 +02:00
Compare
andrewrk force-pushed build-runner-process from 9571cba45b
Some checks failed
ci / aarch64-macos-release (pull_request) Failing after 23m48s
ci / aarch64-macos-debug (pull_request) Failing after 26m18s
ci / aarch64-freebsd-debug (pull_request) Has been cancelled
ci / aarch64-freebsd-release (pull_request) Has been cancelled
ci / aarch64-netbsd-debug (pull_request) Has been cancelled
ci / aarch64-netbsd-release (pull_request) Has been cancelled
ci / loongarch64-linux-debug (pull_request) Has been cancelled
ci / loongarch64-linux-release (pull_request) Has been cancelled
ci / riscv64-linux-debug (pull_request) Has been cancelled
ci / riscv64-linux-release (pull_request) Has been cancelled
ci / s390x-linux-debug (pull_request) Has been cancelled
ci / s390x-linux-release (pull_request) Has been cancelled
ci / x86_64-freebsd-debug (pull_request) Has been cancelled
ci / x86_64-freebsd-release (pull_request) Has been cancelled
ci / x86_64-linux-debug (pull_request) Has been cancelled
ci / x86_64-linux-debug-llvm (pull_request) Has been cancelled
ci / x86_64-linux-release (pull_request) Has been cancelled
ci / x86_64-netbsd-debug (pull_request) Has been cancelled
ci / x86_64-netbsd-release (pull_request) Has been cancelled
ci / x86_64-openbsd-debug (pull_request) Has been cancelled
ci / x86_64-openbsd-release (pull_request) Has been cancelled
ci / x86_64-windows-debug (pull_request) Has been cancelled
ci / x86_64-windows-release (pull_request) Has been cancelled
ci / aarch64-linux-release (pull_request) Has been cancelled
ci / aarch64-linux-debug (pull_request) Has been cancelled
ci / powerpc64le-linux-release (pull_request) Has been cancelled
ci / powerpc64le-linux-debug (pull_request) Has been cancelled
to a9e0eb5340
Some checks failed
ci / aarch64-freebsd-debug (pull_request) Has been cancelled
ci / aarch64-freebsd-release (pull_request) Has been cancelled
ci / aarch64-netbsd-debug (pull_request) Has been cancelled
ci / aarch64-netbsd-release (pull_request) Has been cancelled
ci / loongarch64-linux-debug (pull_request) Has been cancelled
ci / loongarch64-linux-release (pull_request) Has been cancelled
ci / riscv64-linux-debug (pull_request) Has been cancelled
ci / riscv64-linux-release (pull_request) Has been cancelled
ci / s390x-linux-debug (pull_request) Has been cancelled
ci / s390x-linux-release (pull_request) Has been cancelled
ci / x86_64-freebsd-debug (pull_request) Has been cancelled
ci / x86_64-freebsd-release (pull_request) Has been cancelled
ci / x86_64-linux-debug (pull_request) Has been cancelled
ci / x86_64-linux-debug-llvm (pull_request) Has been cancelled
ci / x86_64-linux-release (pull_request) Has been cancelled
ci / x86_64-netbsd-debug (pull_request) Has been cancelled
ci / x86_64-netbsd-release (pull_request) Has been cancelled
ci / x86_64-openbsd-debug (pull_request) Has been cancelled
ci / x86_64-openbsd-release (pull_request) Has been cancelled
ci / x86_64-windows-debug (pull_request) Has been cancelled
ci / x86_64-windows-release (pull_request) Has been cancelled
ci / aarch64-linux-debug (pull_request) Has been cancelled
ci / aarch64-linux-release (pull_request) Has been cancelled
ci / aarch64-macos-release (pull_request) Has been cancelled
ci / aarch64-macos-debug (pull_request) Has been cancelled
ci / powerpc64le-linux-release (pull_request) Has been cancelled
ci / powerpc64le-linux-debug (pull_request) Has been cancelled
2026-05-26 04:27:26 +02:00
Compare
Maker: add --debug-maker-leaks flag and fix some leaks
Some checks failed
ci / aarch64-freebsd-debug (pull_request) Has been cancelled
ci / aarch64-freebsd-release (pull_request) Has been cancelled
ci / aarch64-netbsd-debug (pull_request) Has been cancelled
ci / aarch64-netbsd-release (pull_request) Has been cancelled
ci / loongarch64-linux-debug (pull_request) Has been cancelled
ci / loongarch64-linux-release (pull_request) Has been cancelled
ci / riscv64-linux-debug (pull_request) Has been cancelled
ci / riscv64-linux-release (pull_request) Has been cancelled
ci / s390x-linux-debug (pull_request) Has been cancelled
ci / s390x-linux-release (pull_request) Has been cancelled
ci / x86_64-linux-debug (pull_request) Has been cancelled
ci / x86_64-linux-debug-llvm (pull_request) Has been cancelled
ci / x86_64-linux-release (pull_request) Has been cancelled
ci / x86_64-windows-release (pull_request) Has been cancelled
ci / powerpc64le-linux-release (pull_request) Has been cancelled
ci / aarch64-linux-debug (pull_request) Has been cancelled
ci / aarch64-linux-release (pull_request) Has been cancelled
ci / x86_64-freebsd-debug (pull_request) Has been cancelled
ci / x86_64-windows-debug (pull_request) Has been cancelled
ci / x86_64-freebsd-release (pull_request) Has been cancelled
ci / x86_64-openbsd-release (pull_request) Has been cancelled
ci / x86_64-netbsd-debug (pull_request) Has been cancelled
ci / x86_64-netbsd-release (pull_request) Has been cancelled
ci / x86_64-openbsd-debug (pull_request) Has been cancelled
ci / aarch64-macos-debug (pull_request) Has been cancelled
ci / aarch64-macos-release (pull_request) Has been cancelled
ci / powerpc64le-linux-debug (pull_request) Has been cancelled
f3dd10d40f
Maker: print amount of arena memory used only when --debug-maker-leaks
All checks were successful
ci / x86_64-netbsd-release (pull_request) Successful in 44m29s
ci / x86_64-netbsd-debug (pull_request) Successful in 44m59s
ci / x86_64-freebsd-release (pull_request) Successful in 52m18s
ci / x86_64-freebsd-debug (pull_request) Successful in 53m17s
ci / aarch64-macos-release (pull_request) Successful in 59m50s
ci / x86_64-windows-release (pull_request) Successful in 1h2m35s
ci / x86_64-openbsd-release (pull_request) Successful in 1h4m9s
ci / x86_64-openbsd-debug (pull_request) Successful in 1h7m49s
ci / x86_64-windows-debug (pull_request) Successful in 1h9m58s
ci / aarch64-macos-debug (pull_request) Successful in 1h17m43s
ci / x86_64-linux-debug (pull_request) Successful in 1h26m19s
ci / aarch64-linux-release (pull_request) Successful in 1h37m20s
ci / powerpc64le-linux-release (pull_request) Successful in 2h17m0s
ci / s390x-linux-debug (pull_request) Successful in 2h13m15s
ci / aarch64-linux-debug (pull_request) Successful in 2h41m18s
ci / s390x-linux-release (pull_request) Successful in 1h55m2s
ci / powerpc64le-linux-debug (pull_request) Successful in 5h4m4s
ci / x86_64-linux-release (pull_request) Successful in 4h15m23s
ci / x86_64-linux-debug-llvm (pull_request) Successful in 5h8m20s
ci / riscv64-linux-debug (pull_request) Has been skipped
ci / riscv64-linux-release (pull_request) Has been skipped
ci / loongarch64-linux-release (pull_request) Successful in 2h10m1s
ci / loongarch64-linux-debug (pull_request) Successful in 3h6m40s
ci / aarch64-freebsd-debug (pull_request) Successful in 4h32m42s
ci / aarch64-freebsd-release (pull_request) Successful in 3h45m14s
ci / aarch64-netbsd-release (pull_request) Successful in 4h8m25s
ci / aarch64-netbsd-debug (pull_request) Successful in 4h56m31s
c9619d7086
andrewrk merged commit 0ff175b69e into master 2026-05-26 18:00:45 +02:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
4 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ziglang/zig!35428
No description provided.