Skip to content

Build latest master with zig v0.16.0-dev.2535+b5bd49460 error #1

@tiagocoutinho

Description

@tiagocoutinho

I'm trying to build current master on a linux mint 22.2 64 bits using zig v0.16.0-dev.2471+e9eadee00
I'm getting:

$ zig build 
install
└─ install demo_threads
   └─ compile exe demo_threads Debug native 1 errors
src/pubsub.zig:304:13: error: genSetReg called with a value larger than dst_reg
        pub fn publish(self: *Self, payload: UserPayload, filter_id: FilterId) !void {
        ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error: 1 compilation errors
failed command: /home/coutinho/.zvm/master/zig build-exe -ODebug --dep pubsub -Mroot=/home/coutinho/workspace/pubsub.zig/src/demo_threads.zig -ODebug -Mpubsub=/home/coutinho/workspace/pubsub.zig/src/pubsub.zig --cache-dir .zig-cache --global-cache-dir /home/coutinho/.cache/zig --name demo_threads --zig-lib-dir /home/coutinho/.zvm/master/lib/ --listen=-

Build Summary: 0/3 steps succeeded (1 failed)
install transitive failure
└─ install demo_threads transitive failure
   └─ compile exe demo_threads Debug native 1 errors

error: the following build command failed with exit code 1:
.zig-cache/o/f699675679d6536a6849ac1f372f7721/build /home/coutinho/.zvm/master/zig /home/coutinho/.zvm/master/lib /home/coutinho/workspace/pubsub.zig .zig-cache /home/coutinho/.cache/zig --seed 0x611462c5 -Z9865ccbd24860096

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