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

Use atty to detecting presence of terminal #246

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

taiki-e
Copy link

@taiki-e taiki-e commented Feb 11, 2022

Fixes #197
Fixes #101

(the first commit is from #245 -- without it, master fails to build)

master is currently broken because platforms crate yanked the old versions.

```
cargo install -f --path .
  Installing cargo-asm v0.1.17 (/Users/taiki/projects/cargo-asm)
    Updating crates.io index
error: failed to compile `cargo-asm v0.1.17 (/Users/taiki/projects/cargo-asm)`, intermediate artifacts can be found at `/Users/taiki/projects/cargo-asm/target`

Caused by:
  failed to select a version for the requirement `platforms = "^0.2"`
  candidate versions found which didn't match: 2.0.0, 1.1.0, 1.0.3, ...
  location searched: crates.io index
  required by package `cargo-asm v0.1.17 (/Users/taiki/projects/cargo-asm)
```
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

Successfully merging this pull request may close these issues.

cargo-asm prints color codes even when stdout is not a terminal Detect tty output for colorization
1 participant