You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
missing value ICANON and TCSANOW for nuttx targets #5639
rustc 1.101.0-nightly (8006091eb 2026-10-17)
build with -Zbuild-std
affected targets: nuttx
error[: cannot find value `ICANON` in crate `libc`
╭▸ src/util.rs:214:32
│
214 │ new.c_lflag &= !(libc::ICANON | libc::ECHO);
╰╴ ━━━━━━ not found in `libc`
error[: cannot find value `ECHO` in crate `libc`
╭▸ src/util.rs:214:47
│
214 │ new.c_lflag &= !(libc::ICANON | libc::ECHO);
╰╴ ━━━━ not found in `libc`
error[: cannot find value `TCSANOW` in crate `libc`
╭▸ src/util.rs:215:35
│
215 │ libc::tcsetattr(fd, libc::TCSANOW, &new);
╰╴ ━━━━━━━ not found in `libc`
error[: cannot find value `TCSANOW` in crate `libc`
╭▸ src/util.rs:222:35
│
222 │ libc::tcsetattr(fd, libc::TCSANOW, old.as_ptr());
╰╴ ━━━━━━━ not found in `libc`
For more information about this error, try `rustc --explain E0425`.
error: could not compile `img` (bin "img") due to 4 previous errors
Activity
Wyvern commentedon Oct 21, 2026
we can confirm nuttx has these constants defined
from here: https://github.com/apache/nuttx/blob/master/include/termios.h