about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-09-16 20:42:24 +0200
committerGitHub <noreply@github.com>2025-09-16 20:42:24 +0200
commitd1ed4f4238ce997e1ed2963d3edb9d3e730ef382 (patch)
tree40c6f21ea707ce0351229aea236fc45ae0aaa748 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parentb1a724626b612503b4458bc34c044037c242c88a (diff)
parent9c423796bbbb989bac15524d78cdc6d46641e5da (diff)
downloadrust-d1ed4f4238ce997e1ed2963d3edb9d3e730ef382.tar.gz
rust-d1ed4f4238ce997e1ed2963d3edb9d3e730ef382.zip
Rollup merge of #146611 - lolbinarycat:bootstrap-toml-wrong-section-diagnostic, r=Kobzol
bootstrap: emit hint if a config key is used in the wrong section

based on discussion on rust-lang/rust#146591

now, if the user puts `build.download-rustc` in `bootstrap.toml`, they'll get a diagnostic:
``hint: try moving `download-rustc` to the `rust` section``

and if they nest things too much (`rust.rust.download-rustc`):
``hint: section name `rust` used as a key within a section``

if they specify a top-level key within a section (`rust.profile`):
``hint: try using `profile` as a top level key``

r? `@Kobzol`
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions