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

fix: rename Sdk.build -> Sdk.sdl_build to prevent build.zig's build f… #198

Closed
wants to merge 1 commit into from
Closed

Conversation

dwclake
Copy link

@dwclake dwclake commented Sep 1, 2024

The build.zig's Sdk.build field has a naming clash with build.zig's Sdk.build() function. I renamed the Sdk.build field to Sdk.sdl_build to prevent this naming clash.

As per Action: Continuous Build #1722

Run zig build install
/home/runner/work/SDL.zig/SDL.zig/build.zig:12:8: error: duplicate struct member name 'build'
/home/runner/work/SDL.zig/SDL.zig/build.zig:126:1: note: duplicate name here
/home/runner/work/SDL.zig/SDL.zig/build.zig:1:1: note: struct declared here
Error: Process completed with exit code 2.

@ikskuh
Copy link
Owner

ikskuh commented Sep 2, 2024

Resolved by #199

@ikskuh ikskuh closed this Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants