Skip to content

Compiler segfault when cross-compiling a project for Windows #23

@recursiveGecko

Description

@recursiveGecko

Hi,

I'm working on a small project using Raylib.zig and I'm experiencing some issues when I try to cross-compile the project from Linux to x86_64_windows_gnu. I've tried various recent Zig 0.11-dev versions but they all segfault when I try to build the project in any of the Release modes - Debug builds work fine.

Here's the failing GitHub Actions output from the minimal example project I'm trying to build: https://github.com/recursiveGecko/zig-raylib-segfault-repro/actions/runs/5624683409/job/15241992190#step:4:66

I've filed an issue in the Zig repo, but I'd like to know if there's anything I can do in the meantime to work around it?

Any tips, example projects or guides would be really appreciated! Thanks :)

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