commit 5afd774db35e1e12cc49aab5b7f134b741545b80 (tree)
parent f7d72ce881db7162aa74ec0fa05ee3af76ecfe1c
Author: Alex Kladov <aleksey.kladov@gmail.com>
Date: Thu, 20 Jun 2024 12:12:20 +0100
std: mark Build.args as const
I don't think these are intended to be mutated!
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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,