Zig 0.17.0-dev (Split by item)

This is an example of documentation generated by ZigDoc, an alternative to Zig's built-in Auto Doc feature. See also examples in other modes/formats. The project being documented here (as the example) is the Zig library itself.

runCheck

reduce.runCheck
fn runCheck(arena: Allocator, io: Io, argv: []const []const u8) !Interestingness

File

lib/compiler/reduce.zig:305

Code

fn runCheck(arena: Allocator, io: Io, argv: []const []const u8) !Interestingness {
    const result = try std.process.run(arena, io, .{ .argv = argv });
    if (result.stderr.len != 0)
        std.debug.print("{s}", .{result.stderr});
    return termToInteresting(result.term);
}