Use rustix for prctl (#1333)

This commit is contained in:
LoveSy
2024-02-01 23:28:56 +08:00
committed by GitHub
parent 9f04482b90
commit 64269c8c4f
4 changed files with 38 additions and 81 deletions

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 = { version = "0.38", features = ["all-apis"] }
rustix = { git = "https://github.com/Kernel-SU/rustix.git", 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"