authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2026-08-05 15:37:58-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2026-08-07 11:19:55-07:00
log8bf3941f6ba1df180ed29636f548538e748b157b
treecff2b53b6d19e763fa78574fe036c487a246ed33
parent3d35188fe8c423e7afed863def0fa9ac347230f2

std.Build: remove dead fields

These were originally intended to tell the configure script whether or not those third party integrations were enabled. This is now a problem because we want to produce a configuration file that is indendent of whether such external integrations will be enabled, so that the logic does not need to be re-executed when those flags are changed on the command line. If we wish to make this feature interact with the configure script, let us consider carefully how to add it in a future enhancement, and not leave these dead fields sitting around in the meantime. closes #35607

1 files changed, 0 insertions(+), 16 deletions(-)

lib/std/Build.zig-16
...@@ -45,17 +45,6 @@ debug_log_scopes: []const []const u8 = &.{},...@@ -45,17 +45,6 @@ debug_log_scopes: []const []const u8 = &.{},
45/// Set to 0 to disable stack collection.45/// Set to 0 to disable stack collection.
46debug_stack_frames_count: u8 = 8,46debug_stack_frames_count: u8 = 8,
4747
48/// Experimental. Use system Darling installation to run cross compiled macOS build artifacts.
49enable_darling: bool = false,
50/// Use system QEMU installation to run cross compiled foreign architecture build artifacts.
51enable_qemu: bool = false,
52/// Darwin. Use Rosetta to run x86_64 macOS build artifacts on arm64 macOS.
53enable_rosetta: bool = false,
54/// Use system Wasmtime installation to run cross compiled wasm/wasi build artifacts.
55enable_wasmtime: bool = false,
56/// Use system Wine installation to run cross compiled Windows build artifacts.
57enable_wine: bool = false,
58
59dep_prefix: []const u8 = "",48dep_prefix: []const u8 = "",
6049
61modules: std.array_hash_map.String(*Module),50modules: std.array_hash_map.String(*Module),
...@@ -388,11 +377,6 @@ fn createChild(...@@ -388,11 +377,6 @@ fn createChild(
388 .default_step = undefined,377 .default_step = undefined,
389 .top_level_steps = .{},378 .top_level_steps = .{},
390 .debug_log_scopes = parent.debug_log_scopes,379 .debug_log_scopes = parent.debug_log_scopes,
391 .enable_darling = parent.enable_darling,
392 .enable_qemu = parent.enable_qemu,
393 .enable_rosetta = parent.enable_rosetta,
394 .enable_wasmtime = parent.enable_wasmtime,
395 .enable_wine = parent.enable_wine,
396 .dep_prefix = parent.fmt("{s}{s}.", .{ parent.dep_prefix, dep_name }),380 .dep_prefix = parent.fmt("{s}{s}.", .{ parent.dep_prefix, dep_name }),
397 .modules = .empty,381 .modules = .empty,
398 .named_writefiles = .empty,382 .named_writefiles = .empty,