positron icon indicating copy to clipboard operation
positron copied to clipboard

Fail to build the project with zig 0.12.0 and 0.13.0

Open cseblog opened this issue 8 months ago • 1 comments

$ 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

cseblog avatar Jun 19 '24 04:06 cseblog