HellOS icon indicating copy to clipboard operation
HellOS copied to clipboard

Problem: HellOS doesn't compile on Zig 0.8.0

Open yrashk opened this issue 4 years ago • 2 comments

Solution: update API usage

yrashk avatar Jun 05 '21 04:06 yrashk

I have this problem too, but I changed const builtin = @import("builtin"); to const builtin = @import("std").builtin;

Omega0x013 avatar Jun 09 '21 08:06 Omega0x013

Side note: running zig ast-check on the latest Zig (0.9.0-pre) gives me the following message:

$ zig ast-check hellos.zig
hellos.zig:29:31: error: unused function parameter
pub fn panic(msg: []const u8, error_return_trace: ?*std.builtin.StackTrace) noreturn {

Why is the error_return_trace even necessary?

sagehane avatar Jun 24 '21 02:06 sagehane