Function handleChildProcUnsupported [src]

Prototype

pub inline fn handleChildProcUnsupported( s: *Step, opt_cwd: ?[]const u8, argv: []const []const u8, ) error{ OutOfMemory, MakeFailed }!void

Parameters

s: *Stepopt_cwd: ?[]const u8argv: []const []const u8

Possible Errors

MakeFailed
OutOfMemory

Source

pub inline fn handleChildProcUnsupported( s: *Step, opt_cwd: ?[]const u8, argv: []const []const u8, ) error{ OutOfMemory, MakeFailed }!void { if (!std.process.can_spawn) { return s.fail( "unable to execute the following command: host cannot spawn child processes\n{s}", .{try allocPrintCmd(s.owner.allocator, opt_cwd, argv)}, ); } }