Skip to content

bootstrap: add debugging aid to identify the *resolved* config value #136738

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
jieyouxu opened this issue Feb 8, 2025 · 1 comment
Open

bootstrap: add debugging aid to identify the *resolved* config value #136738

jieyouxu opened this issue Feb 8, 2025 · 1 comment
Labels
C-enhancement Category: An issue proposing an enhancement or a PR with one. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

Comments

@jieyouxu
Copy link
Member

jieyouxu commented Feb 8, 2025

I wish we had added a command to bootstrap for debugging the resolved value of each config, not just the ones that have been explicitly overridden.

Originally posted by @jyn514 in #136701

@jieyouxu jieyouxu added C-enhancement Category: An issue proposing an enhancement or a PR with one. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) labels Feb 8, 2025
@rustbot rustbot added the needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. label Feb 8, 2025
@jieyouxu jieyouxu removed the needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. label Feb 8, 2025
@jyn514
Copy link
Member

jyn514 commented Feb 8, 2025

maybe we could have something like this as the interface:

$ x config
change-id = 133068
build.extended = true
build.submodules = false
rust.debug = true
# ... *all* of the remaining configs
$ x config build
build.extended = true
build.submodules = false
# ... rest of the configs for the build table only
$ x config build.extended
true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement Category: An issue proposing an enhancement or a PR with one. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Projects
None yet
Development

No branches or pull requests

3 participants