From e617e8a7981119d1b2d3593b14c1a06dde5f1c43 Mon Sep 17 00:00:00 2001 From: Nick Erdmann Date: Mon, 9 Mar 2020 20:24:21 +0100 Subject: [PATCH] std/os/uefi: require guid output function be comptime --- lib/std/os/uefi.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/std/os/uefi.zig b/lib/std/os/uefi.zig index 81d13ac1c3..8ebe8e4b91 100644 --- a/lib/std/os/uefi.zig +++ b/lib/std/os/uefi.zig @@ -32,7 +32,7 @@ pub const Guid = extern struct { options: fmt.FormatOptions, context: var, comptime Errors: type, - output: fn (@TypeOf(context), []const u8) Errors!void, + comptime output: fn (@TypeOf(context), []const u8) Errors!void, ) Errors!void { if (f.len == 0) { return fmt.format(context, Errors, output, "{x:0>8}-{x:0>4}-{x:0>4}-{x:0>2}{x:0>2}-{x:0>12}", .{