From 73fff50b6bfd1613ec3fa707589a994b4aff4b63 Mon Sep 17 00:00:00 2001 From: ssrlive <30760636+ssrlive@users.noreply.github.com> Date: Fri, 17 Nov 2023 18:53:35 +0800 Subject: [PATCH] android issues --- .cargo/config.toml | 2 +- src/android.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.cargo/config.toml b/.cargo/config.toml index 456b19b..0805c38 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -2,4 +2,4 @@ protocol = "sparse" [build] -#target = "aarch64-linux-android" +# target = "aarch64-linux-android" diff --git a/src/android.rs b/src/android.rs index 9cf09ee..50bc47d 100644 --- a/src/android.rs +++ b/src/android.rs @@ -11,7 +11,7 @@ pub mod native { JNIEnv, JavaVM, }; use std::{ - net::{IpAddr, Ipv4Addr, SocketAddr}, + net::{IpAddr, Ipv4Addr, Ipv6Addr, SocketAddr}, sync::{ atomic::{AtomicBool, Ordering}, Arc, Mutex, RwLock,