Build fails
Opened this issue · 4 comments
worikgh commented
|
80 | if let Some(lib) = ncurses_lib {
| ^^^^^^^^^ help: consider using a reference: `&Some(lib)`
In Cargo.toml ncurses = "5.93.0"
cargo --version
cargo 0.26.0
rustc --version
rustc 1.24.1
worikgh commented
$ aptitude search curse|grep '^i'
i libncurses5 - shared libraries for terminal handling
i A libncurses5-dev - developer's libraries for ncurses
i libncursesw5 - shared libraries for terminal handling (wide character support)
i ncurses-base - basic terminal type definitions
i ncurses-bin - terminal-related programs and man pages
i ncurses-doc - developer's guide and documentation for ncurses
i A ncurses-term - additional terminal type definitions
worikgh commented
ncurses = "5.91.0"
does not have this bug
euclio commented
Probably a bug introduced by match default bindings. You can work around this by upgrading to the latest stable with rustup.
worikgh commented
Yep. works with latest rust from rust-up