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

Build - Remove use of cfg! and instead inspect TARGET #374

Merged
merged 1 commit into from
Jan 21, 2025

Conversation

thepowersgang
Copy link
Contributor

This fixes cross-compilation, as beforehand it would require the Linux windowing system features (X11 or Wayland) even when building for windows (on a linux host).

Tested locally using both linux->linux compilation (both that it builds with default-features, and errors without) and linux->windows (doesn't) error)

Fixes #373

@emoon emoon merged commit dd050e9 into emoon:master Jan 21, 2025
4 checks passed
@emoon
Copy link
Owner

emoon commented Jan 21, 2025

Thanks!

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.

Build script does not work correctly when cross-compiling
2 participants