authorgravatar for stephen@hexops.comStephen Gutekanst <stephen@hexops.com> 2022-02-21 12:58:13-07:00
committergravatar for stephen@hexops.comStephen Gutekanst <stephen@hexops.com> 2022-02-21 12:58:13-07:00
log9c1c4747f46cbf2911d3383154acce41b3f532c4
tree66f652b29761f92567565333fe19a835fa8504e6
parentfb61db1ee40e08e939613dc8448ac619a05bf91d

std: Builder: account for null term considering response files

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>

1 files changed, 1 insertions(+), 1 deletions(-)

lib/std/build.zig+1-1
......@@ -2901,7 +2901,7 @@ pub const LibExeObjStep = struct {
29012901 // pass that to zig, e.g. via 'zig build-lib @args.rsp'
29022902 var args_length: usize = 0;
29032903 for (zig_args.items) |arg| {
2904 args_length += arg.len;
2904 args_length += arg.len + 1; // +1 to account for null terminator
29052905 }
29062906 if (args_length >= 30 * 1024) {
29072907 const args_dir = try fs.path.join(