diff options
| author | Vexu <git@vexu.eu> | 2020-09-04 22:49:14 +0300 |
|---|---|---|
| committer | Vexu <git@vexu.eu> | 2020-09-04 22:49:14 +0300 |
| commit | 09c861b829480be525a787e54117c108705256e6 (patch) | |
| tree | 8bb830533e368e68446ce1feb10275802beb6db3 /lib/std/start.zig | |
| parent | 1df0f3ac24f090e8c58cd4cd6e752110cc5262b8 (diff) | |
| download | zig-09c861b829480be525a787e54117c108705256e6.tar.gz zig-09c861b829480be525a787e54117c108705256e6.zip | |
update rest of tests
Diffstat (limited to 'lib/std/start.zig')
| -rw-r--r-- | lib/std/start.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/start.zig b/lib/std/start.zig index e04b2a3320..3eb02ba65e 100644 --- a/lib/std/start.zig +++ b/lib/std/start.zig @@ -67,7 +67,7 @@ fn EfiMain(handle: uefi.Handle, system_table: *uefi.tables.SystemTable) callconv uefi.handle = handle; uefi.system_table = system_table; - switch (@TypeOf(root.main).ReturnType) { + switch (@typeInfo(@TypeOf(read)).Fn.return_type.?) { noreturn => { root.main(); }, |
