Skip to content

Don't use shm_open fallback on Android - #548

Open
Nikitf777 wants to merge 1 commit into
Smithay:masterfrom
Nikitf777:android-disable-shm_open
Open

Nikitf777 wants to merge 1 commit into
Smithay:masterfrom
Nikitf777:android-disable-shm_open

Conversation

@Nikitf777

@Nikitf777 Nikitf777 commented Oct 23, 2026 •

Copy link
Copy Markdown

rustix's shm_open doesn't exist on Android, which causes a compile error. Since it's only used as a fallback, we can just don't include the fallback when compiling to Android.
Patch is tested on my Android device in Termux.

This PR also includes changes from #341 with additional android gating.

@Nikitf777
Nikitf777 force-pushed the android-disable-shm_open branch from a5a90eb to 1d38224 Compare October 28, 2026 05:46
@Nikitf777 Nikitf777 changed the title Don't use shm_open fallback on unsuported platforms Don't use shm_open fallback on Android Oct 28, 2026

This branch has not been deployed

No deployments
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.

1 participant