| ... | @@ -37,8 +37,8 @@ pub fn start( | ... | @@ -37,8 +37,8 @@ pub fn start( |
| 37 | } | 37 | } |
| 38 | | 38 | |
| 39 | { | 39 | { |
| 40 | const rebuild_node = prog_node.start("Fuzzing", count); | 40 | const fuzz_node = prog_node.start("Fuzzing", count); |
| 41 | defer rebuild_node.end(); | 41 | defer fuzz_node.end(); |
| 42 | var wait_group: std.Thread.WaitGroup = .{}; | 42 | var wait_group: std.Thread.WaitGroup = .{}; |
| 43 | defer wait_group.wait(); | 43 | defer wait_group.wait(); |
| 44 | | 44 | |
| ... | @@ -46,7 +46,7 @@ pub fn start( | ... | @@ -46,7 +46,7 @@ pub fn start( |
| 46 | const run = step.cast(Step.Run) orelse continue; | 46 | const run = step.cast(Step.Run) orelse continue; |
| 47 | for (run.fuzz_tests.items) |unit_test_index| { | 47 | for (run.fuzz_tests.items) |unit_test_index| { |
| 48 | assert(run.rebuilt_executable != null); | 48 | assert(run.rebuilt_executable != null); |
| 49 | thread_pool.spawnWg(&wait_group, fuzzWorkerRun, .{ run, unit_test_index, ttyconf, prog_node }); | 49 | thread_pool.spawnWg(&wait_group, fuzzWorkerRun, .{ run, unit_test_index, ttyconf, fuzz_node }); |
| 50 | } | 50 | } |
| 51 | } | 51 | } |
| 52 | } | 52 | } |