From cad1218925df538b4662cb3f01d95b493685ba0a Mon Sep 17 00:00:00 2001 From: sxyazi Date: Fri, 6 Sep 2024 16:41:27 +0800 Subject: [PATCH] fix: Update `rustix` to fix the `enable_raw_mode()` error on WSL/Android --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 27d6448e..3b023573 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -75,7 +75,7 @@ crossterm_winapi = { version = "0.9.1", optional = true } # Default to using rustix for UNIX systems, but provide an option to use libc for backwards # compatibility. libc = { version = "0.2", default-features = false, optional = true } -rustix = { version = "0.38.34", default-features = false, features = [ +rustix = { version = "0.38.36", default-features = false, features = [ "std", "stdio", "termios",