8000 fix: skip the x11/wayland feature check on darwin targets by SAY-5 · Pull Request #444 · emoon/rust_minifb · GitHub
[go: up one dir, main page]

Skip to content

fix: skip the x11/wayland feature check on darwin targets - #444

Merged
emoon merged 1 commit into
emoon:masterfrom
SAY-5:fix-build-rs-darwin-feature-check
Nov 19, 2026
Merged

emoon merged 1 commit into
emoon:masterfrom
SAY-5:fix-build-rs-darwin-feature-check

Conversation

@SAY-5
@SAY-5 SAY-5 commented Nov 19, 2026
Copy link
Copy Markdown
Contributor

The x11/wayland feature check in build.rs skipped targets containing "-macos", but Apple triples end in "-apple-darwin", so cargo build --no-default-features on macOS panicked with "At least one of the x11 or wayland features must be enabled". It now checks "-darwin", the same test the native build further down uses. On an aarch64-apple-darwin host the build panics on master and builds with this change; there is no test here since it only touches the build script.

Fixes #425

Signed-off-by: Sai Asish Y <say.apm35@gmail.com>
@emoon
emoon merged commit 2f9fe00 into emoon:master Nov 19, 2026
5 checks passed
@emoon
emoon commented Nov 19, 2026
Copy link
Copy Markdown
Owner

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.rs feature check never matches macOS targets

2 participants

0