Commit 5afd774db3

Alex Kladov <aleksey.kladov@gmail.com>
2024-06-20 13:12:20
std: mark Build.args as const
I don't think these are intended to be mutated!
1 parent f7d72ce
Changed files (1)
lib
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,