Skip to content

Commit feb8fe6

Browse files
coolreader18asomers
authored andcommitted
Remove some actually unsupported termios iflags on redox
1 parent 97f6ec5 commit feb8fe6

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ This project adheres to [Semantic Versioning](https://semver.org/).
1313

1414
### Removed
1515

16+
- Removed a couple of termios constants on redox that were never actually
17+
supported.
18+
(#[1483](https://github.com/nix-rust/nix/pull/1483))
19+
1620
## [0.20.0] - 20 February 2021
1721
### Added
1822

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ targets = [
3131
]
3232

3333
[dependencies]
34-
libc = { version = "0.2.82", features = [ "extra_traits" ] }
34+
libc = { version = "0.2.99", features = [ "extra_traits" ] }
3535
bitflags = ">= 1.1.0, < 1.3.0"
3636
cfg-if = "1.0"
3737

src/sys/termios.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,9 @@ libc_bitflags! {
569569
ICRNL;
570570
IXON;
571571
IXOFF;
572+
#[cfg(not(target_os = "redox"))]
572573
IXANY;
574+
#[cfg(not(target_os = "redox"))]
573575
IMAXBEL;
574576
#[cfg(any(target_os = "android", target_os = "linux", target_os = "macos"))]
575577
IUTF8;

0 commit comments

Comments
 (0)