Skip to content

Zig build doesn't work #487

@marcinmachura

Description

@marcinmachura

Since 0.15 version of Zig the stdlib has been changed and code requires an update

2025/08/27 08:33:05.508 | build.zig:16:10: error: no field named 'root_source_file' in struct 'Build.ExecutableOptions'
2025/08/27 08:33:05.508 | .root_source_file = b.path("app.zig"),
2025/08/27 08:33:05.508 | ^~~~~~~~~~~~~~~~
2025/08/27 08:33:05.508 | /snap/zig/14937/lib/std/Build.zig:771:31: note: struct declared here
2025/08/27 08:33:05.508 | pub const ExecutableOptions = struct {
2025/08/27 08:33:05.508 | ^~~~~~

2025/08/27 08:33:05.508 | referenced by:
2025/08/27 08:33:05.508 | runBuild__anon_23478: /snap/zig/14937/lib/std/Build.zig:2214:33
2025/08/27 08:33:05.508 | main: /snap/zig/14937/lib/compiler/build_runner.zig:366:29
2025/08/27 08:33:05.508 | 5 reference(s) hidden; use '-freference-trace=7' to see all references

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions