feat: support compile for iOS (#1777)

This commit is contained in:
Chenx Dust
2026-01-11 16:36:58 +08:00
committed by GitHub
parent f4f591d14c
commit 48c5c23f9b
7 changed files with 50 additions and 25 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ struct InterfaceFilter {
iface: NetworkInterface,
}
#[cfg(any(target_os = "android", target_env = "ohos"))]
#[cfg(any(target_os = "android", target_os = "ios", target_env = "ohos"))]
impl InterfaceFilter {
async fn filter_iface(&self) -> bool {
true