Skip to content

Rewrite the rust-installer submodule in Rust #41569

Closed
@alexcrichton

Description

@alexcrichton

The rust-installer repository has long served the purpose of generating manifests and installers for all of our standard artifacts. Over time though it's unfortunately really showing its age as it's become more and more difficult to maintain over time. With rustbuild nowadays let's take this opportunity to rewrite it into Rust!

This transition would most likely look like:

  • Add a new tool, src/tools/installer
  • Add appropriate crates.io dependencies to src/tools/installer/Cargo.toml
  • Reimplement the installer in Rust, including various commands and scripts.
  • Replace all calls in dist.rs to rust-installer/*.sh to calls into this new project. For an example of invoking a tool written in Rust, you can see how we call cargotest

This'd be a great opportunity for anyone looking to get their feet wet with Rust's distribution infrastructure and build system! It's also a relatively meaty project to boot :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-enhancementCategory: An issue proposing an enhancement or a PR with one.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions