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
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
libtermwithtermcolor, which means:termcolor,wincolor, andwinapito mark these crates unstable (so they can be shipped with rustc.rust-langorganization.termcolorAn alternative is to keep the existing code for unstable rustc usage but make it a shim over
termcolorfor non-rustc usages.Just wrote these down to see what peoples think. @alexcrichton @Manishearth @gnzlbg @BurntSushi