aboutsummaryrefslogtreecommitdiff
path: root/lib/std/Build.zig
diff options
context:
space:
mode:
authorMatthew Lugg <mlugg@mlugg.co.uk>2025-05-25 18:02:16 +0100
committerGitHub <noreply@github.com>2025-05-25 18:02:16 +0100
commitef35c3d5fefb8c14e17f3c7036bb21e808ee59be (patch)
treeb2178084647ef4ac98bf4d45273b4708ff0b7607 /lib/std/Build.zig
parentdc6ffc28b57a96fd03f62bc665b6ed28b8e9e67b (diff)
parent3d8e760552bc60d2c7f1f4df9c8a05c8aae2b769 (diff)
downloadzig-ef35c3d5fefb8c14e17f3c7036bb21e808ee59be.tar.gz
zig-ef35c3d5fefb8c14e17f3c7036bb21e808ee59be.zip
Merge pull request #23986 from mlugg/incremental-stuff
incremental: bugfix (and a debugging feature that helped me do that bugfix)
Diffstat (limited to 'lib/std/Build.zig')
-rw-r--r--lib/std/Build.zig2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/std/Build.zig b/lib/std/Build.zig
index 55d13dfd85..3bfd8c9a7d 100644
--- a/lib/std/Build.zig
+++ b/lib/std/Build.zig
@@ -59,6 +59,7 @@ pkg_config_pkg_list: ?(PkgConfigError![]const PkgConfigPkg) = null,
args: ?[]const []const u8 = null,
debug_log_scopes: []const []const u8 = &.{},
debug_compile_errors: bool = false,
+debug_incremental: bool = false,
debug_pkg_config: bool = false,
/// Number of stack frames captured when a `StackTrace` is recorded for debug purposes,
/// in particular at `Step` creation.
@@ -385,6 +386,7 @@ fn createChildOnly(
.cache_root = parent.cache_root,
.debug_log_scopes = parent.debug_log_scopes,
.debug_compile_errors = parent.debug_compile_errors,
+ .debug_incremental = parent.debug_incremental,
.debug_pkg_config = parent.debug_pkg_config,
.enable_darling = parent.enable_darling,
.enable_qemu = parent.enable_qemu,