Skip to content

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