From 60d2685f7e386facc4daa6056d4d358d88727115 Mon Sep 17 00:00:00 2001 From: weishu Date: Fri, 2 Feb 2024 11:25:54 +0800 Subject: [PATCH] ksud: Fix dependency --- userspace/ksud/Cargo.lock | 4 ++-- userspace/ksud/Cargo.toml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/userspace/ksud/Cargo.lock b/userspace/ksud/Cargo.lock index 4bffd606..f2699655 100644 --- a/userspace/ksud/Cargo.lock +++ b/userspace/ksud/Cargo.lock @@ -859,7 +859,7 @@ dependencies = [ "regex", "retry", "rust-embed", - "rustix 0.38.30 (git+https://github.com/Kernel-SU/rustix.git)", + "rustix 0.38.30 (git+https://github.com/Kernel-SU/rustix.git?branch=main)", "serde", "serde_json", "sha256", @@ -1385,7 +1385,7 @@ dependencies = [ [[package]] name = "rustix" version = "0.38.30" -source = "git+https://github.com/Kernel-SU/rustix.git#cea95a423076be6a793679773fb4e80a3e40f38c" +source = "git+https://github.com/Kernel-SU/rustix.git?branch=main#0e270bce2d97466be6b987bb5f7ea5b1e8d84969" dependencies = [ "bitflags 2.4.1", "errno 0.3.8", diff --git a/userspace/ksud/Cargo.toml b/userspace/ksud/Cargo.toml index b13c16e1..e3e7f57a 100644 --- a/userspace/ksud/Cargo.toml +++ b/userspace/ksud/Cargo.toml @@ -39,7 +39,7 @@ chrono = "0.4" hole-punch = { git = "https://github.com/tiann/hole-punch" } [target.'cfg(any(target_os = "android", target_os = "linux"))'.dependencies] -rustix = { git = "https://github.com/Kernel-SU/rustix.git", features = ["all-apis"] } +rustix = { git = "https://github.com/Kernel-SU/rustix.git", branch = "main", features = ["all-apis"] } # some android specific dependencies which compiles under unix are also listed here for convenience of coding android-properties = { version = "0.2.2", features = ["bionic-deprecated"] } procfs = "0.16" @@ -51,4 +51,4 @@ android_logger = "0.13" [profile.release] strip = true opt-level = "z" -#lto = true +lto = true