Skip to content

Default project fails to compile with self-hosted x86 backend. #212

@loic-o

Description

@loic-o

Since Zig was updated to default to the self-hosted backend for x86 debug builds the project created by 'jetzig init' fails to compile. I added 'exe.use_llvm = true' to the build.zig and it works again.

The error message seemed pretty useless to me:
"error: the following command terminated unexpectedly:..." followed by the zig build-exe command.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions