adding loops tests
All checks were successful
Build / build (push) Successful in 2m2s
Test / build (push) Successful in 5m10s

This commit is contained in:
2026-01-18 18:18:21 +01:00
parent 04092e25c1
commit 9868b34f92
6 changed files with 158 additions and 49 deletions

View File

@@ -17,8 +17,8 @@ pub fn main() !void {
defer rt.deinit(allocator);
try rt.callEntryPoint(allocator, try rt.getEntryPointByName("main"));
var output: [4]i32 = undefined;
try rt.readOutput(i32, output[0..output.len], try rt.getResultByName("color"));
var output: [4]f32 = undefined;
try rt.readOutput(f32, output[0..output.len], try rt.getResultByName("color"));
std.log.info("Output: Vec4{any}", .{output});
}
std.log.info("Successfully executed", .{});