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.
Zig › compiler/ › Maker/ › Fuzz.zig › rebuildTestsWorkerRun
rebuildTestsWorkerRun
Fuzz.rebuildTestsWorkerRun
fn rebuildTestsWorkerRun (
maker : *Maker ,
run_index : Configuration .Step .Index ,
parent_progress_node : std .Progress .Node ,
) void
File
Code
fn rebuildTestsWorkerRun (
maker : *Maker ,
run_index : Configuration .Step .Index ,
parent_progress_node : std .Progress .Node ,
) void {
rebuildTestsWorkerRunFallible (maker , run_index , parent_progress_node ) catch |err | {
const conf = &maker .scanned_config .configuration ;
const conf_run = run_index .ptr (conf ).extended .cast (conf , Configuration .Step .Run ).?;
const comp_index = conf_run .producer .value .?;
const step_name = comp_index .ptr (conf ).name .slice (conf );
log .err ("step {s}: failed to rebuild in fuzz mode: {t}" , .{ step_name , err });
};
}