Skip to content

Don't force recompilation when setting/removing the --error-format compiler flag #3141

@randomPoison

Description

@randomPoison

Over in AtomBuild/atom-build-cargo#65 I'm running into the issue that building my project from the editor includes RUSTFLAGS=--error-format=json, so switching between building in the editor and building from my terminal causes my entire project, including all dependencies, to be recompiled. Would it be possible to not force recompilation on all crates if the error format flag changes?

I suspect that this would piggy-back off #2982, but if it could be implemented without waiting on direct support for a --error-format cargo flag or be made to work with RUSTFLAGS, then I would appreciate that greatly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions