diff --git a/CHANGELOG.md b/CHANGELOG.md index a4b3e1c0d2..8b83313cf2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,10 @@ This project adheres to [Semantic Versioning](https://semver.org/). ### Removed +- Removed a couple of termios constants on redox that were never actually + supported. + (#[1483](https://github.com/nix-rust/nix/pull/1483)) + ## [0.21.0] - 31 May 2021 ### Added - Added `getresuid` and `getresgid` diff --git a/Cargo.toml b/Cargo.toml index df3ca11775..955c09531d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -32,7 +32,7 @@ targets = [ ] [dependencies] -libc = { version = "0.2.95", features = [ "extra_traits" ] } +libc = { version = "0.2.99", features = [ "extra_traits" ] } bitflags = ">= 1.1.0, < 1.3.0" cfg-if = "1.0" diff --git a/src/sys/termios.rs b/src/sys/termios.rs index 8c3c1cffc1..fe974dc66c 100644 --- a/src/sys/termios.rs +++ b/src/sys/termios.rs @@ -599,7 +599,9 @@ libc_bitflags! { ICRNL; IXON; IXOFF; + #[cfg(not(target_os = "redox"))] IXANY; + #[cfg(not(target_os = "redox"))] IMAXBEL; #[cfg(any(target_os = "android", target_os = "linux", target_os = "macos"))] IUTF8;