test scaffolding

This commit is contained in:
sjorsdonkers
2025-04-22 16:47:04 +02:00
committed by Sjors
parent 64508cec61
commit d666de07a7
4 changed files with 66 additions and 14 deletions

View File

@@ -43,7 +43,7 @@ pub fn Runner(comptime State: type, comptime Global: type, comptime types: anyty
const G = if (Global == void) DefaultGlobal else Global;
runner.executor = try runner.env.startExecutor(G, state, runner);
runner.executor = try runner.env.startExecutor(G, state, runner, .main);
errdefer runner.env.stopExecutor(runner.executor);
try runner.executor.startScope(if (Global == void) &default_global else global);