Skip to content
This repository has been archived by the owner on Dec 25, 2024. It is now read-only.

Build fails #161

Open
worikgh opened this issue Jun 24, 2018 · 4 comments
Open

Build fails #161

worikgh opened this issue Jun 24, 2018 · 4 comments

Comments

@worikgh
Copy link

worikgh commented Jun 24, 2018

   |
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
Copy link
Author

worikgh commented Jun 25, 2018

$ 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
Copy link
Author

worikgh commented Jun 25, 2018

ncurses = "5.91.0" does not have this bug

@euclio
Copy link
Contributor

euclio commented Jun 25, 2018

Probably a bug introduced by match default bindings. You can work around this by upgrading to the latest stable with rustup.

@worikgh
Copy link
Author

worikgh commented Jul 11, 2018

Yep. works with latest rust from rust-up

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants