Skip to content

Commit

Permalink
std: mark Build.args as const
Browse files Browse the repository at this point in the history
I don't think these are intended to be mutated!
  • Loading branch information
matklad authored and andrewrk committed Jun 20, 2024
1 parent f7d72ce commit 5afd774
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/std/Build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 5afd774

Please sign in to comment.