authorgravatar for gethwilliams@googlemail.comGethDW <gethwilliams@googlemail.com> 2022-11-15 16:19:39+00:00
committergravatar for git@vexu.euVeikka Tuominen <git@vexu.eu> 2022-11-15 23:23:27+02:00
log024bac7f531e75e2428a20aac1a88a883eaa7e8e
tree1cfad86987d956a14babab8ff35af88c065a600a
parentc4f7663c921033a52b1688b88811c92422d58293

std.build: fix typo

This would only fail to compile when building *on* WASI.

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

lib/std/build/RunStep.zig+1-1
......@@ -207,7 +207,7 @@ pub fn runCommand(
207207 const cwd = if (maybe_cwd) |cwd| builder.pathFromRoot(cwd) else builder.build_root;
208208
209209 if (!std.process.can_spawn) {
210 const cmd = try std.mem.join(builder.addInstallDirectory, " ", argv);
210 const cmd = try std.mem.join(builder.allocator, " ", argv);
211211 std.debug.print("the following command cannot be executed ({s} does not support spawning a child process):\n{s}", .{ @tagName(builtin.os.tag), cmd });
212212 builder.allocator.free(cmd);
213213 return ExecError.ExecNotSupported;