Disabling colored output requires convoluted cargo test --color=never -- --color=never incantation (original) (raw)

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.