aboutsummaryrefslogtreecommitdiff
path: root/src/scheduler.zig
diff options
context:
space:
mode:
authorNathan Reiner <nathan@nathanreiner.xyz>2025-05-28 16:46:57 +0200
committerNathan Reiner <nathan@nathanreiner.xyz>2025-05-28 16:46:57 +0200
commitd138a622dcc77302cc452c52946f6202b6a03f5e (patch)
treee5fb765accca5af0fe6c0877c15d1b60055c94a4 /src/scheduler.zig
parent011e8e2ec2d7900d5c8d26f43f3b91999427be61 (diff)
move to zig 0.14.1HEADmaster
Diffstat (limited to 'src/scheduler.zig')
-rw-r--r--src/scheduler.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scheduler.zig b/src/scheduler.zig
index b2ab0db..9034a84 100644
--- a/src/scheduler.zig
+++ b/src/scheduler.zig
@@ -2,7 +2,7 @@ const std = @import("std");
pub fn Scheduler(function: anytype) type {
const FuncType = @TypeOf(function);
- const func_info = @typeInfo(FuncType).Fn;
+ const func_info = @typeInfo(FuncType).@"fn";
const R = func_info.return_type orelse std.builtin.Type.Void;
const ArgType = std.meta.ArgsTuple(FuncType);