From 955b0241519760245aa272a57192f5436b687f90 Mon Sep 17 00:00:00 2001 From: Wareya Date: Sat, 29 Aug 2026 02:24:51 -0400 Subject: [PATCH 1/2] Exclude android for fontconfig Signed-off-by: Wareya --- src/sources/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sources/mod.rs b/src/sources/mod.rs index 0f89451..5f568d5 100644 --- a/src/sources/mod.rs +++ b/src/sources/mod.rs @@ -22,6 +22,7 @@ pub mod directwrite; #[cfg(any( not(any( + target_os = "android", target_os = "macos", target_os = "ios", target_family = "windows", From 24fddfb8f7e3fb4570d2d00fd795636512e34388 Mon Sep 17 00:00:00 2001 From: Wareya Date: Sat, 29 Aug 2026 02:25:31 -0400 Subject: [PATCH 2/2] Exclude android for fontconfig Signed-off-by: Wareya --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 44fedb2..6d64adf 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -55,7 +55,7 @@ core-text = "20.1.0" [target.'cfg(not(any(target_family = "windows", target_os = "macos", target_os = "ios")))'.dependencies] freetype-sys = "0.23" -[target.'cfg(not(any(target_family = "windows", target_os = "macos", target_os = "ios", target_arch = "wasm32", target_env = "ohos")))'.dependencies] +[target.'cfg(not(any(target_family = "windows", target_os = "android", target_os = "macos", target_os = "ios", target_arch = "wasm32", target_env = "ohos")))'.dependencies] yeslogic-fontconfig-sys = "6.0" [target.'cfg(not(any(target_arch = "wasm32", target_family = "windows", target_os = "android", target_env = "ohos")))'.dependencies]