Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem: HellOS doesn't compile on Zig 0.8.0 #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

yrashk
Copy link

@yrashk yrashk commented Jun 5, 2021

Solution: update API usage

@Omega0x013
Copy link

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

@sagehane
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants