Skip to content

Switch to termcolor (first)? #60349

Open
Open
@crlf0710

Description

@crlf0710

There're on going effort to move libtest out of tree, however i think the current approach(#59440) is a little too aggressive by changing everything in a huge PR. I think it the effort should be splitted and happen in several separate steps.

The first big step in it is replacing libterm with termcolor, which means:

  • Add separate features to termcolor, wincolor, and winapi to mark these crates unstable (so they can be shipped with rustc.
  • Maybe move these crates repo to rust-lang organization.
  • Modify libtest in-tree to use termcolor

An alternative is to keep the existing code for unstable rustc usage but make it a shim over termcolor for non-rustc usages.

Just wrote these down to see what peoples think. @alexcrichton @Manishearth @gnzlbg @BurntSushi

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-libtestArea: `#[test]` / the `test` libraryC-enhancementCategory: An issue proposing an enhancement or a PR with one.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions