mirror of
https://github.com/ziglang/zig.git
synced 2026-02-15 22:09:49 +00:00
Fix compile when using EFI target (Fixes #6275)
This commit is contained in:
parent
d7268cbb24
commit
eca20b5e03
@ -67,7 +67,7 @@ fn EfiMain(handle: uefi.Handle, system_table: *uefi.tables.SystemTable) callconv
|
||||
uefi.handle = handle;
|
||||
uefi.system_table = system_table;
|
||||
|
||||
switch (@typeInfo(@TypeOf(read)).Fn.return_type.?) {
|
||||
switch (@typeInfo(@TypeOf(root.main)).Fn.return_type.?) {
|
||||
noreturn => {
|
||||
root.main();
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user