Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cargo install fails on windows with unresolved import compilation error #17

Open
ivanatpr opened this issue Jun 27, 2018 · 1 comment
Open

Comments

@ivanatpr
Copy link

ivanatpr commented Jun 27, 2018

I get the following error when I try to do cargo install loop-rs on Windows 7:

Compiling loop-rs v0.3.3
error[E0432]: unresolved import `isatty::stdin_isatty`
  --> src\main.rs:16:14
   |
16 | use isatty::{stdin_isatty};
   |              ^^^^^^^^^^^^ no `stdin_isatty` in the root. Did you mean to use `stderr_isatty`?

Here is my rustup show output:

Default host: x86_64-pc-windows-msvc
installed toolchains
--------------------
stable-x86_64-pc-windows-msvc
nightly-x86_64-pc-windows-msvc
active toolchain
----------------
stable-x86_64-pc-windows-msvc (default)
rustc 1.27.0 (3eda71b00 2018-06-19)
@ivanatpr
Copy link
Author

Looks like this is a known issue where the isatty crate is missing a Windows implementation for stdin_isatty(): dtolnay/isatty#1

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

No branches or pull requests

1 participant