Skip to content

Generate different .vscode/setting for different config profile #121173

Open
@chenyukang

Description

@chenyukang

The idea is from rust-lang/rustc-dev-guide#1890

I'm always feeling slow when editing the source code in rustc, today I spent some time to tweak my settings, and I found one reason is rust-analyzer.check.overrideCommand.

On my dev machine x check will spend about 4s, so it's not acceptable if it's executed multiple times.
It will cost about more than 4x time to run x check compared with x check compiler.

Maybe we can generate different .vscode/setting.json for different config profile?

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-contributor-roadblockArea: Makes things more difficult for new or seasoned contributors to RustC-feature-requestCategory: A feature request, i.e: not implemented / a PR.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions