Skip to content

exclude Android from fontconfig-sys dependency#276

Closed
mrgzi wants to merge 2 commits into
servo:mainfrom
mrgzi:android-fix
Closed

exclude Android from fontconfig-sys dependency#276
mrgzi wants to merge 2 commits into
servo:mainfrom
mrgzi:android-fix

Conversation

@mrgzi
Copy link
Copy Markdown

@mrgzi mrgzi commented Apr 15, 2026

Android does not have fontconfig. Without this exclusion, cross-compiling for aarch64-linux-android fails because pkg-config cannot find fontconfig headers.

mrgzi and others added 2 commits April 16, 2026 00:53
Android does not have fontconfig. Without this exclusion,
cross-compiling for aarch64-linux-android fails because
pkg-config cannot find fontconfig headers.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The Cargo.toml change alone is not enough — the fontconfig source
module must also be cfg-gated to prevent compilation errors when
the yeslogic-fontconfig-sys crate is not present.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@jdm
Copy link
Copy Markdown
Member

jdm commented Apr 15, 2026

Per Servo's AI policy, we do not accept code generated with AI tools.

@jdm jdm closed this Apr 15, 2026
@mrgzi mrgzi deleted the android-fix branch April 30, 2026 19:05
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