diff --git a/lib/std/os/linux/io_uring.zig b/lib/std/os/linux/io_uring.zig index 52bb74848c..cc34ad0319 100644 --- a/lib/std/os/linux/io_uring.zig +++ b/lib/std/os/linux/io_uring.zig @@ -4121,7 +4121,7 @@ test "openat_direct/close_direct" { } /// For use in tests. Returns SkipZigTest is kernel version is less than required. -fn skipKernelLessThan(required: std.SemanticVersion) !void { +inline fn skipKernelLessThan(required: std.SemanticVersion) !void { if (builtin.os.tag != .linux) return error.SkipZigTest; var uts: linux.utsname = undefined;