Disabling colored output requires convoluted cargo test --color=never -- --color=never incantation · Issue #1983 · rust-lang/cargo (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

@emidoots

Description

@emidoots

EDIT: see durka's comment below

It seems that there is no way to disable the colored output of cargo test. This is a nice thing to have when displaying output on e.g. CI sites that do not support ASCII escape codes.

Combinations I tried blindly that didn't work include:

Also checked output of cargo -h and cargo test -h but saw nothing.