Skip to content

build runner broken with latest zig #2433

@leecannon

Description

@leecannon

Zig Version

0.15.0-dev.1387+c80aa9f71

ZLS Version

0.15.0-dev.344+4aaafc2b

Client / Code Editor / Extensions

No response

Steps to Reproduce and Observed Behavior

This is caused by the builder runner changes in ziglang/zig#24588.

There have also been some other recent changes that have modified the builder runner ziglang/zig#24649 and ziglang/zig#24689, unsure if these changes need to be ported as well?

$ zig build --build-runner ~/src/zls/src/build_runner/master.zig
/home/lee/src/zls/src/build_runner/master.zig:75:35: error: missing struct field: time_report
    var graph: std.Build.Graph = .{
                                 ~^
/home/lee/.local/share/zigup/0.15.0-dev.1387+c80aa9f71/files/lib/std/Build.zig:113:19: note: struct declared here
pub const Graph = struct {
                  ^~~~~~
referenced by:
    callMain [inlined]: /home/lee/.local/share/zigup/0.15.0-dev.1387+c80aa9f71/files/lib/std/start.zig:627:37
    callMainWithArgs [inlined]: /home/lee/.local/share/zigup/0.15.0-dev.1387+c80aa9f71/files/lib/std/start.zig:587:20
    posixCallMainAndExit: /home/lee/.local/share/zigup/0.15.0-dev.1387+c80aa9f71/files/lib/std/start.zig:542:36
    2 reference(s) hidden; use '-freference-trace=5' to see all references

Expected Behavior

Build runner works.

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions