ksud: Fix dependency

This commit is contained in:
weishu
2024-02-02 11:25:54 +08:00
parent a4b9ea04a4
commit 60d2685f7e
2 changed files with 4 additions and 4 deletions

View File

@@ -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",

View File

@@ -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