From 8bf3941f6ba1df180ed29636f548538e748b157b Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Wed, 5 Aug 2026 15:37:58 -0700 Subject: [PATCH] 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 --- lib/std/Build.zig | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/lib/std/Build.zig b/lib/std/Build.zig index eed57a0b15b47b23b54b412c4305f12020b9773c..0258ce941c5fbb32bb162095d2ebec28262f6fc6 100644 --- a/lib/std/Build.zig +++ b/lib/std/Build.zig @@ -45,17 +45,6 @@ debug_log_scopes: []const []const u8 = &.{}, /// Set to 0 to disable stack collection. debug_stack_frames_count: u8 = 8, -/// Experimental. Use system Darling installation to run cross compiled macOS build artifacts. -enable_darling: bool = false, -/// Use system QEMU installation to run cross compiled foreign architecture build artifacts. -enable_qemu: bool = false, -/// Darwin. Use Rosetta to run x86_64 macOS build artifacts on arm64 macOS. -enable_rosetta: bool = false, -/// Use system Wasmtime installation to run cross compiled wasm/wasi build artifacts. -enable_wasmtime: bool = false, -/// Use system Wine installation to run cross compiled Windows build artifacts. -enable_wine: bool = false, - dep_prefix: []const u8 = "", modules: std.array_hash_map.String(*Module), @@ -388,11 +377,6 @@ fn createChild( .default_step = undefined, .top_level_steps = .{}, .debug_log_scopes = parent.debug_log_scopes, - .enable_darling = parent.enable_darling, - .enable_qemu = parent.enable_qemu, - .enable_rosetta = parent.enable_rosetta, - .enable_wasmtime = parent.enable_wasmtime, - .enable_wine = parent.enable_wine, .dep_prefix = parent.fmt("{s}{s}.", .{ parent.dep_prefix, dep_name }), .modules = .empty, .named_writefiles = .empty, -- 2.54.0