Skip to content

'cargo miri --color=always' does not work #2284

Open
@RalfJung

Description

@RalfJung

Cargo does not forward the --color argument to rustc and instead interprets it itself. However for cargo-miri that does not work since the relevant output of diagnostics happens when the program is run, not when it is built. So the --color flag basically is currently ignored by cargo miri.

There were some attempts to fix this, but they lead to other issues, so we'd have to find a better strategy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-cargoArea: affects the cargo wrapper (cargo miri)C-bugCategory: This is a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions