Skip to content

Use atty crate instead of rolling our own #80888

Closed
@camelid

Description

@camelid

Currently the driver and some other parts of the compiler roll their own
functions to detect if they are connected to a TTY. We should instead use
something like the atty crate (which we already depend on).

Metadata

Metadata

Assignees

Labels

A-driverArea: rustc_driver that ties everything together into the `rustc` compilerC-cleanupCategory: PRs that clean code up or issues documenting cleanup.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions