Closed
Description
; ./configure --set changelog-seen=2
configure: processing command line
configure:
configure: changelog-seen := 2
configure: build.configure-args := ['--set', 'changelog-seen=2']
Traceback (most recent call last):
File "/Users/jyn/src/rust/./src/bootstrap/configure.py", line 465, in <module>
raise RuntimeError("config key {} not in sections".format(section_key))
RuntimeError: config key changelog-seen not in sections
The problem is that the configure script assumes that all keys are in a section and there are no top-level keys. This forces people to use printf
instead:
Lines 89 to 96 in 37c1d6d
We should make it possible to set top-level keys through configure
, both changelog-seen
and profile
. We should also update the line in the readme linked above to suggest ./configure
instead of printf.
Metadata
Metadata
Assignees
Labels
Category: This is a bug.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: Help is requested to fix this issue.Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)