support ohos (#974)

* support ohos

---------

Co-authored-by: FrankHan <2777926911@qq.com>
This commit is contained in:
韩嘉乐
2025-07-02 09:44:45 +08:00
committed by GitHub
parent bf021a9ead
commit 01e491ec07
22 changed files with 668 additions and 21 deletions
+2 -2
View File
@@ -94,7 +94,7 @@ impl EasyTierLauncher {
}
}
#[cfg(target_os = "android")]
#[cfg(any(target_os = "android", target_env = "ohos"))]
async fn run_routine_for_android(
instance: &Instance,
data: &EasyTierData,
@@ -199,7 +199,7 @@ impl EasyTierLauncher {
});
}
#[cfg(target_os = "android")]
#[cfg(any(target_os = "android", target_env = "ohos"))]
Self::run_routine_for_android(&instance, &data, &mut tasks).await;
instance.run().await?;