Skip to content

Commit

Permalink
Remove some actually unsupported termios iflags on redox
Browse files Browse the repository at this point in the history
  • Loading branch information
coolreader18 authored and asomers committed Aug 14, 2021
1 parent ac35061 commit 52312e4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
2 changes: 2 additions & 0 deletions src/sys/termios.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 52312e4

Please sign in to comment.