mirror of
https://github.com/EasyTier/EasyTier.git
synced 2026-05-07 10:14:35 +00:00
feat: support compile for iOS (#1777)
This commit is contained in:
@@ -526,7 +526,11 @@ impl<C: NatDstConnector> TcpProxy<C> {
|
||||
#[cfg(feature = "smoltcp")]
|
||||
if self.global_ctx.get_flags().use_smoltcp
|
||||
|| self.global_ctx.no_tun()
|
||||
|| cfg!(any(target_os = "android", target_env = "ohos"))
|
||||
|| cfg!(any(
|
||||
target_os = "android",
|
||||
target_os = "ios",
|
||||
target_env = "ohos"
|
||||
))
|
||||
{
|
||||
// use smoltcp network stack
|
||||
|
||||
|
||||
Reference in New Issue
Block a user