-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
rustc: Migrate to termcolor
crate from term
#48588
Conversation
cc @BurntSushi |
r? @pnkfelix (rust_highfive has picked a reviewer for you, use r? to override) |
LGTM! |
☔ The latest upstream changes (presumably #48586) made this pull request unmergeable. Please resolve the merge conflicts. |
@bors: r=BurntSushi |
📌 Commit cddbfdf has been approved by |
🔒 Merge conflict |
@bors: r=BurntSushi |
📌 Commit 72231a4 has been approved by |
rustc: Migrate to `termcolor` crate from `term` This crate moves the compiler's error reporting to using the `termcolor` crate from crates.io. Previously rustc used a super-old version of the `term` crate in-tree which is basically unmaintained at this point, but Cargo has been using `termcolor` for some time now and tools like `rg` are using `termcolor` as well, so it seems like a good strategy to take! Note that the `term` crate remains in-tree for libtest. Changing libtest will be a bit tricky due to how the build works, but we can always tackle that later. cc rust-lang#45728
⌛ Testing commit 72231a4 with merge ed1c82fd1ff8b7296a144c67c553dd1594bd37e7... |
💔 Test failed - status-appveyor |
I've filed softprops/atty#23 to cover that. Let's wait a few days and see what happens there. |
This crate moves the compiler's error reporting to using the `termcolor` crate from crates.io. Previously rustc used a super-old version of the `term` crate in-tree which is basically unmaintained at this point, but Cargo has been using `termcolor` for some time now and tools like `rg` are using `termcolor` as well, so it seems like a good strategy to take! Note that the `term` crate remains in-tree for libtest. Changing libtest will be a bit tricky due to how the build works, but we can always tackle that later. cc rust-lang#45728
@bors: r=BurntSushi |
📌 Commit a919efa has been approved by |
rustc: Migrate to `termcolor` crate from `term` This crate moves the compiler's error reporting to using the `termcolor` crate from crates.io. Previously rustc used a super-old version of the `term` crate in-tree which is basically unmaintained at this point, but Cargo has been using `termcolor` for some time now and tools like `rg` are using `termcolor` as well, so it seems like a good strategy to take! Note that the `term` crate remains in-tree for libtest. Changing libtest will be a bit tricky due to how the build works, but we can always tackle that later. cc rust-lang#45728
This crate moves the compiler's error reporting to using the
termcolor
cratefrom crates.io. Previously rustc used a super-old version of the
term
cratein-tree which is basically unmaintained at this point, but Cargo has been using
termcolor
for some time now and tools likerg
are usingtermcolor
as well,so it seems like a good strategy to take!
Note that the
term
crate remains in-tree for libtest. Changing libtest will bea bit tricky due to how the build works, but we can always tackle that later.
cc #45728