--- a/Cargo.toml
+++ b/Cargo.toml
@@ -70,7 +70,7 @@
 version = "3.9.0"
 
 [target.'cfg(any(unix, target_os = "wasi", target_os = "redox"))'.dependencies.rustix]
-version = "1.0.5"
+version = "0.38"
 features = [
     "fs",
     "std",
