Skip to content

Dogfood CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse in bootstrap #108766

Closed as not planned
@jyn514

Description

@jyn514

Sparse-registry was recently stabilized and we've started testing it in CI: #107543

It would be nice to also use it when running locally so that compile times are a bit faster (and to increase coverage). The code to change lives somewhere around

cargo.env("RUSTC_INSTALL_BINDIR", self.config.bindir_relative());

We should also undo the changes in #107543 at the same time, since they're now redundant.

Metadata

Metadata

Assignees

Labels

C-enhancementCategory: An issue proposing an enhancement or a PR with one.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.E-mentorCall for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.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