From bd8ee0afaef484a07692a3ac1c6c58feb0cdb005 Mon Sep 17 00:00:00 2001 From: eiiko6 Date: Fri, 3 Apr 2026 21:22:55 +0200 Subject: [PATCH] excluded linux commands for android target? --- src/slimes.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/slimes.rs b/src/slimes.rs index 31a16f5..a5d594c 100644 --- a/src/slimes.rs +++ b/src/slimes.rs @@ -252,7 +252,7 @@ impl Slime for GpuSlime { } } - #[cfg(target_os = "linux")] + #[cfg(all(target_os = "linux", not(target_os = "android")))] { use std::process::Command; @@ -372,7 +372,7 @@ impl Slime for NetworkSlime { } } - #[cfg(target_os = "linux")] + #[cfg(all(target_os = "linux", not(target_os = "android")))] { use std::process::Command; @@ -443,7 +443,7 @@ impl Slime for AudioSlime { } } - #[cfg(target_os = "linux")] + #[cfg(all(target_os = "linux", not(target_os = "android")))] { use std::process::Command;