From 5afd774db35e1e12cc49aab5b7f134b741545b80 Mon Sep 17 00:00:00 2001 From: Alex Kladov Date: Thu, 20 Jun 2024 12:12:20 +0100 Subject: [PATCH] std: mark Build.args as const I don't think these are intended to be mutated! --- lib/std/Build.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/std/Build.zig b/lib/std/Build.zig index bb3e1486e6..f5c83d2e7a 100644 --- a/lib/std/Build.zig +++ b/lib/std/Build.zig @@ -56,7 +56,7 @@ build_root: Cache.Directory, cache_root: Cache.Directory, zig_lib_dir: ?LazyPath, pkg_config_pkg_list: ?(PkgConfigError![]const PkgConfigPkg) = null, -args: ?[][]const u8 = null, +args: ?[]const []const u8 = null, debug_log_scopes: []const []const u8 = &.{}, debug_compile_errors: bool = false, debug_pkg_config: bool = false,