Skip to content

zig libc panics on Apple M2 / Ventura #15024

@telekid

Description

@telekid

Zig Version

0.11.0-dev.2191+30427ff79

Steps to Reproduce and Observed Behavior

Looks similar to this (closed) issue.

  1. Download the above zig version from the releases page.
  2. Ensure zig is on $PATH
  3. run zig libc

Output:

% zig libc
thread 4918749 panic: Darwin is handled separately via std.zig.system.darwin module
Unable to dump stack trace: debug info stripped
zsh: abort      zig libc

zig env works fine:

{
 "zig_exe": "/Users/jake/.local/bin/zig/zig",
 "lib_dir": "/Users/jake/.local/bin/zig/lib",
 "std_dir": "/Users/jake/.local/bin/zig/lib/std",
 "global_cache_dir": "/Users/jake/.cache/zig",
 "version": "0.11.0-dev.2191+30427ff79",
 "target": "aarch64-macos.13.2...13.2-none"
}

Expected Behavior

Normal output from zig libc.

macOS verison: 13.2 (22D49)
On Apple Silicon M2

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugObserved behavior contradicts documented or intended behavioros-macosmacOS

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions