std: mark Build.args as const

I don't think these are intended to be mutated!
This commit is contained in:
Alex Kladov 2024-06-20 12:12:20 +01:00 committed by Andrew Kelley
parent f7d72ce881
commit 5afd774db3

View File

@ -56,7 +56,7 @@ build_root: Cache.Directory,
cache_root: Cache.Directory, cache_root: Cache.Directory,
zig_lib_dir: ?LazyPath, zig_lib_dir: ?LazyPath,
pkg_config_pkg_list: ?(PkgConfigError![]const PkgConfigPkg) = null, pkg_config_pkg_list: ?(PkgConfigError![]const PkgConfigPkg) = null,
args: ?[][]const u8 = null, args: ?[]const []const u8 = null,
debug_log_scopes: []const []const u8 = &.{}, debug_log_scopes: []const []const u8 = &.{},
debug_compile_errors: bool = false, debug_compile_errors: bool = false,
debug_pkg_config: bool = false, debug_pkg_config: bool = false,