Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gpu-dawn: need to fix Zig issue "error.Unexpected: GetLastError(206): The filename or extension is too long." #167

Closed
Tracked by #86
slimsag opened this issue Feb 20, 2022 · 3 comments · Fixed by ziglang/zig#10950
Assignees
Labels
Milestone

Comments

@slimsag
Copy link
Member

slimsag commented Feb 20, 2022

This is one issue preventing gpu-dawn from building on Windows.

On Windows there is a 32 KiB limit to the arguments that are passed to a program via CreateProcess. The Zig Builder quickly exceeds this in a zig build-lib command when we're trying to build Dawn on Windows as a single static library.

@slimsag
Copy link
Member Author

slimsag commented Feb 27, 2022

Fix merged upstream.

@slimsag slimsag closed this as completed Feb 27, 2022
@slimsag
Copy link
Member Author

slimsag commented Mar 5, 2022

It caused a regression and got reverted, resent ziglang/zig#11065

@slimsag slimsag reopened this Mar 5, 2022
slimsag added a commit that referenced this issue Mar 6, 2022
So that we can produce binary releases for Windows until upstream PR is
merged: #167

Helps #86

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
slimsag added a commit to hexops-graveyard/mach-gpu-dawn that referenced this issue Mar 6, 2022
So that we can produce binary releases for Windows until upstream PR is
merged: hexops/mach#167

Helps hexops/mach#86

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
@slimsag
Copy link
Member Author

slimsag commented Mar 19, 2022

This landed, just need to update CI systems back to using upstream Zig.

@slimsag slimsag closed this as completed Mar 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant