Skip to content

Add default configuration files for x.py #76619

Closed
@jyn514

Description

@jyn514

Currently, the options are 'use the defaults' or 'read the 600 line config.toml.example. Even with recommended defaults from rustc-dev-guide, this is not really ideal for new contributors. As an alternative, there could be different config files for each type of user:

  • distro maintainers and people compiling from source
  • contributors to the standard library or documentation
  • contributors to the compiler
  • contributors to the compiler + llvm

To avoid these getting out of date, they could be included instead of copied: include = "maintainer" in config.toml or something like that. This would also make it clear which changes are automatic and which were made by the user: the automatic changes are not in the same file.

I'm imaging that the files live in src/bootstrap/config.toml.maintainer or similar.

Metadata

Metadata

Assignees

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.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.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