Skip to content

ZLS fails to build with Zig 0.16.0-dev.1976+8e091047b #2554

@Durobot

Description

@Durobot

Zig Version

0.16.0-dev.1976+8e091047b

ZLS Version

26e0192

Client / Code Editor / Extensions

No response

Steps to Reproduce and Observed Behavior

Build with zig build -Doptimize=ReleaseSafe, compilation fails with:

$ zig build -Doptimize=ReleaseSafe
build.zig:348:65: error: union 'process.SpawnOptions.StdIo' has no member named 'Ignore'
    const git_describe_untrimmed = b.runAllowFail(argv, &code, .Ignore) catch |err| {
                                                               ~^~~~~~
/home/archie/.night.zig/zig-x86_64-linux-0.16.0-dev.1976+8e091047b/lib/std/process.zig:423:23: note: union declared here
    pub const StdIo = union(enum) {
                      ^~~~~

Expected Behavior

Successful build

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