Skip to content

Unifying workspaces for tools and others #41601

Closed
@ishitatsuyuki

Description

@ishitatsuyuki

Compiling cargo is known to be slow as hell, and it would be better if we build less.

I'm proposing here to make a cargo workspace for all the stage2 tools. This way,

  • If well configured, Cargo will only be built once (shared with RLS build artifacts)
  • More parallelism since there's more crates to build at once and less likely to block on single big crate

Also, I'm not sure if it's possible, but grouping std, rustc and minor tools can also improve a bit.

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