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 c5e9e95 commit 56b3b7b
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.22.0] - 9 July 2021
### Added
- Added `if_nameindex` (#[1445](https://github.com/nix-rust/nix/pull/1445))
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.98", 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 56b3b7b

Please sign in to comment.