Skip to content

Fail to build the project with zig 0.12.0 and 0.13.0 #4

@cseblog

Description

@cseblog
$ zig build
xxxx\build.zig:6:21: error: root struct of file 'std' has no member named 'build'
pub fn build(b: *std.build.Builder) void {
                 ~~~^~~~~~
xxx\zig\0.13.0\files\lib\std\std.zig:1:1: note: struct declared here
pub const ArrayHashMap = array_hash_map.ArrayHashMap;
^~~
referenced by:
    runBuild__anon_8955xxx\zig\0.13.0\files\lib\std\Build.zig:2115:50
    main:xxx\zig\0.13.0\files\lib\compiler\build_runner.zig:301:29
    remaining reference traces hidden; use '-freference-trace' to see all reference traces

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