Skip to content

MacOs arm64 zig build - failed #85

@ego

Description

@ego
❯ uname -a
Darwin MacBook-Pro-2 23.5.0 Darwin Kernel Version 23.5.0 RELEASE_ARM64_T6031 arm64

❯ zig version
0.13.0

capy on  master via  ↯ v0.13.0
❯ zig build
/.cache/zig/p/1220bc2612b57b0cfaaecbcac38e3144e5a9362ff668d71eb8334e895047bdbb7148/build.zig:9:33: error: no field named 'path' in union 'Build.LazyPath'
        .root_source_file = .{ .path = "stub.c" },
                                ^~~~
/opt/homebrew/Cellar/zig/0.13.0/lib/zig/std/Build.zig:2171:22: note: union declared here
pub const LazyPath = union(enum) {
                     ^~~~~
referenced by:
    runBuild__anon_15902: /opt/homebrew/Cellar/zig/0.13.0/lib/zig/std/Build.zig:2116:27
    dependencyInner__anon_14558: /opt/homebrew/Cellar/zig/0.13.0/lib/zig/std/Build.zig:2097:29
    remaining reference traces hidden; use '-freference-trace' to see all reference traces
/.cache/zig/p/1220c94dbcdf5a799ce2b1571978ff3c97bab1341fe329084fcc3c06e5d6375469b9/build.zig:7:56: error: no field named 'path' in union 'Build.LazyPath'
    _ = b.addModule("objc", .{ .root_source_file = .{ .path = "src/main.zig" } });
                                                       ^~~~
/opt/homebrew/Cellar/zig/0.13.0/lib/zig/std/Build.zig:2171:22: note: union declared here
pub const LazyPath = union(enum) {
                     ^~~~~

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions