Giter VIP home page Giter VIP logo

isatty's People

Contributors

alexcrichton avatar andjo403 avatar dtolnay avatar equal-l2 avatar kdy1 avatar xtibor avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

isatty's Issues

No longer compiles with Rust 1.8.0

The Travis build will need to be updated.

/home/travis/.cargo/registry/src/github.com-88ac128001ac3a9a/libc-0.2.34/src/unix/bsd/freebsdlike/freebsd/mod.rs:436:1: 437:77 error: `#[deprecated]` attribute is unstable (see issue #29935)
/home/travis/.cargo/registry/src/github.com-88ac128001ac3a9a/libc-0.2.34/src/unix/bsd/freebsdlike/freebsd/mod.rs:436 #[deprecated(since="0.2.34",
/home/travis/.cargo/registry/src/github.com-88ac128001ac3a9a/libc-0.2.34/src/unix/bsd/freebsdlike/freebsd/mod.rs:437              note="please use the portable `IFF_RUNNING` constant instead")]
/home/travis/.cargo/registry/src/github.com-88ac128001ac3a9a/libc-0.2.34/src/macros.rs:26:9: 26:76 note: in this expansion of __cfg_if_apply! (defined in /home/travis/.cargo/registry/src/github.com-88ac128001ac3a9a/libc-0.2.34/src/macros.rs)
/home/travis/.cargo/registry/src/github.com-88ac128001ac3a9a/libc-0.2.34/src/macros.rs:15:9: 19:10 note: in this expansion of __cfg_if_items! (defined in /home/travis/.cargo/registry/src/github.com-88ac128001ac3a9a/libc-0.2.34/src/macros.rs)
/home/travis/.cargo/registry/src/github.com-88ac128001ac3a9a/libc-0.2.34/src/unix/bsd/freebsdlike/mod.rs:1110:1: 1120:2 note: in this expansion of cfg_if! (defined in /home/travis/.cargo/registry/src/github.com-88ac128001ac3a9a/libc-0.2.34/src/macros.rs)
/home/travis/.cargo/registry/src/github.com-88ac128001ac3a9a/libc-0.2.34/src/macros.rs:26:9: 26:76 note: in this expansion of __cfg_if_apply! (defined in /home/travis/.cargo/registry/src/github.com-88ac128001ac3a9a/libc-0.2.34/src/macros.rs)
/home/travis/.cargo/registry/src/github.com-88ac128001ac3a9a/libc-0.2.34/src/macros.rs:27:9: 27:60 note: in this expansion of __cfg_if_items! (defined in /home/travis/.cargo/registry/src/github.com-88ac128001ac3a9a/libc-0.2.34/src/macros.rs)
/home/travis/.cargo/registry/src/github.com-88ac128001ac3a9a/libc-0.2.34/src/macros.rs:15:9: 19:10 note: in this expansion of __cfg_if_items! (defined in /home/travis/.cargo/registry/src/github.com-88ac128001ac3a9a/libc-0.2.34/src/macros.rs)
/home/travis/.cargo/registry/src/github.com-88ac128001ac3a9a/libc-0.2.34/src/unix/bsd/mod.rs:535:1: 549:2 note: in this expansion of cfg_if! (defined in /home/travis/.cargo/registry/src/github.com-88ac128001ac3a9a/libc-0.2.34/src/macros.rs)
/home/travis/.cargo/registry/src/github.com-88ac128001ac3a9a/libc-0.2.34/src/macros.rs:26:9: 26:76 note: in this expansion of __cfg_if_apply! (defined in /home/travis/.cargo/registry/src/github.com-88ac128001ac3a9a/libc-0.2.34/src/macros.rs)
/home/travis/.cargo/registry/src/github.com-88ac128001ac3a9a/libc-0.2.34/src/macros.rs:27:9: 27:60 note: in this expansion of __cfg_if_items! (defined in /home/travis/.cargo/registry/src/github.com-88ac128001ac3a9a/libc-0.2.34/src/macros.rs)
/home/travis/.cargo/registry/src/github.com-88ac128001ac3a9a/libc-0.2.34/src/macros.rs:15:9: 19:10 note: in this expansion of __cfg_if_items! (defined in /home/travis/.cargo/registry/src/github.com-88ac128001ac3a9a/libc-0.2.34/src/macros.rs)
/home/travis/.cargo/registry/src/github.com-88ac128001ac3a9a/libc-0.2.34/src/unix/mod.rs:910:1: 941:2 note: in this expansion of cfg_if! (defined in /home/travis/.cargo/registry/src/github.com-88ac128001ac3a9a/libc-0.2.34/src/macros.rs)
/home/travis/.cargo/registry/src/github.com-88ac128001ac3a9a/libc-0.2.34/src/macros.rs:26:9: 26:76 note: in this expansion of __cfg_if_apply! (defined in /home/travis/.cargo/registry/src/github.com-88ac128001ac3a9a/libc-0.2.34/src/macros.rs)
/home/travis/.cargo/registry/src/github.com-88ac128001ac3a9a/libc-0.2.34/src/macros.rs:27:9: 27:60 note: in this expansion of __cfg_if_items! (defined in /home/travis/.cargo/registry/src/github.com-88ac128001ac3a9a/libc-0.2.34/src/macros.rs)
/home/travis/.cargo/registry/src/github.com-88ac128001ac3a9a/libc-0.2.34/src/macros.rs:15:9: 19:10 note: in this expansion of __cfg_if_items! (defined in /home/travis/.cargo/registry/src/github.com-88ac128001ac3a9a/libc-0.2.34/src/macros.rs)
/home/travis/.cargo/registry/src/github.com-88ac128001ac3a9a/libc-0.2.34/src/lib.rs:282:1: 298:2 note: in this expansion of cfg_if! (defined in /home/travis/.cargo/registry/src/github.com-88ac128001ac3a9a/libc-0.2.34/src/macros.rs)
/home/travis/.cargo/registry/src/github.com-88ac128001ac3a9a/libc-0.2.34/src/unix/bsd/freebsdlike/freebsd/mod.rs:443:1: 444:77 error: `#[deprecated]` attribute is unstable (see issue #29935)
/home/travis/.cargo/registry/src/github.com-88ac128001ac3a9a/libc-0.2.34/src/unix/bsd/freebsdlike/freebsd/mod.rs:443 #[deprecated(since="0.2.34",
/home/travis/.cargo/registry/src/github.com-88ac128001ac3a9a/libc-0.2.34/src/unix/bsd/freebsdlike/freebsd/mod.rs:444              note="please use the portable `IFF_OACTIVE` constant instead")]
/home/travis/.cargo/registry/src/github.com-88ac128001ac3a9a/libc-0.2.34/src/macros.rs:26:9: 26:76 note: in this expansion of __cfg_if_apply! (defined in /home/travis/.cargo/registry/src/github.com-88ac128001ac3a9a/libc-0.2.34/src/macros.rs)
/home/travis/.cargo/registry/src/github.com-88ac128001ac3a9a/libc-0.2.34/src/macros.rs:15:9: 19:10 note: in this expansion of __cfg_if_items! (defined in /home/travis/.cargo/registry/src/github.com-88ac128001ac3a9a/libc-0.2.34/src/macros.rs)
/home/travis/.cargo/registry/src/github.com-88ac128001ac3a9a/libc-0.2.34/src/unix/bsd/freebsdlike/mod.rs:1110:1: 1120:2 note: in this expansion of cfg_if! (defined in /home/travis/.cargo/registry/src/github.com-88ac128001ac3a9a/libc-0.2.34/src/macros.rs)
/home/travis/.cargo/registry/src/github.com-88ac128001ac3a9a/libc-0.2.34/src/macros.rs:26:9: 26:76 note: in this expansion of __cfg_if_apply! (defined in /home/travis/.cargo/registry/src/github.com-88ac128001ac3a9a/libc-0.2.34/src/macros.rs)
/home/travis/.cargo/registry/src/github.com-88ac128001ac3a9a/libc-0.2.34/src/macros.rs:27:9: 27:60 note: in this expansion of __cfg_if_items! (defined in /home/travis/.cargo/registry/src/github.com-88ac128001ac3a9a/libc-0.2.34/src/macros.rs)
/home/travis/.cargo/registry/src/github.com-88ac128001ac3a9a/libc-0.2.34/src/macros.rs:15:9: 19:10 note: in this expansion of __cfg_if_items! (defined in /home/travis/.cargo/registry/src/github.com-88ac128001ac3a9a/libc-0.2.34/src/macros.rs)
/home/travis/.cargo/registry/src/github.com-88ac128001ac3a9a/libc-0.2.34/src/unix/bsd/mod.rs:535:1: 549:2 note: in this expansion of cfg_if! (defined in /home/travis/.cargo/registry/src/github.com-88ac128001ac3a9a/libc-0.2.34/src/macros.rs)
/home/travis/.cargo/registry/src/github.com-88ac128001ac3a9a/libc-0.2.34/src/macros.rs:26:9: 26:76 note: in this expansion of __cfg_if_apply! (defined in /home/travis/.cargo/registry/src/github.com-88ac128001ac3a9a/libc-0.2.34/src/macros.rs)
/home/travis/.cargo/registry/src/github.com-88ac128001ac3a9a/libc-0.2.34/src/macros.rs:27:9: 27:60 note: in this expansion of __cfg_if_items! (defined in /home/travis/.cargo/registry/src/github.com-88ac128001ac3a9a/libc-0.2.34/src/macros.rs)
/home/travis/.cargo/registry/src/github.com-88ac128001ac3a9a/libc-0.2.34/src/macros.rs:15:9: 19:10 note: in this expansion of __cfg_if_items! (defined in /home/travis/.cargo/registry/src/github.com-88ac128001ac3a9a/libc-0.2.34/src/macros.rs)
/home/travis/.cargo/registry/src/github.com-88ac128001ac3a9a/libc-0.2.34/src/unix/mod.rs:910:1: 941:2 note: in this expansion of cfg_if! (defined in /home/travis/.cargo/registry/src/github.com-88ac128001ac3a9a/libc-0.2.34/src/macros.rs)
/home/travis/.cargo/registry/src/github.com-88ac128001ac3a9a/libc-0.2.34/src/macros.rs:26:9: 26:76 note: in this expansion of __cfg_if_apply! (defined in /home/travis/.cargo/registry/src/github.com-88ac128001ac3a9a/libc-0.2.34/src/macros.rs)
/home/travis/.cargo/registry/src/github.com-88ac128001ac3a9a/libc-0.2.34/src/macros.rs:27:9: 27:60 note: in this expansion of __cfg_if_items! (defined in /home/travis/.cargo/registry/src/github.com-88ac128001ac3a9a/libc-0.2.34/src/macros.rs)
/home/travis/.cargo/registry/src/github.com-88ac128001ac3a9a/libc-0.2.34/src/macros.rs:15:9: 19:10 note: in this expansion of __cfg_if_items! (defined in /home/travis/.cargo/registry/src/github.com-88ac128001ac3a9a/libc-0.2.34/src/macros.rs)
/home/travis/.cargo/registry/src/github.com-88ac128001ac3a9a/libc-0.2.34/src/lib.rs:282:1: 298:2 note: in this expansion of cfg_if! (defined in /home/travis/.cargo/registry/src/github.com-88ac128001ac3a9a/libc-0.2.34/src/macros.rs)
error: aborting due to 2 previous errors

Relation to the `atty` crate?

I'm not personally knowledgeable of the development history of this vs the atty crate, but we're in a weird situation in the Rust repository where the RLS uses isatty and rustc/Cargo uses atty (I think atty is also used by ripgrep?). It looks like atty differs namely in terms of "weird MSYS detection", although I suspect it's basically equivalent otherwise.

I'm curious, do you know the history here perhaps? I've been surprised by the sheer number of crates that do terminal things (and sad that some, not this library, have spotty support for some platforms). It'd be good if we could consolidate efforts perhaps!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.