-
Notifications
You must be signed in to change notification settings - Fork 13.3k
update build.extended
comments in config.example.toml
#115530
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
Conversation
(rustbot has picked a reviewer for you, use r? to override) |
e7fcae2
to
150e163
Compare
build.extended
comment./configure --enable-extended
I would prefer to avoid populating a fixed list, because that means future changes to the list lead to breakage even if the user just wanted the default. Can we change the comment to mention that tools may not exist or point to config.example.toml instead? |
How about reading this from config.example.toml instead having a fixed hard-coded list? So changes in example config will be reflected to here as well. |
I'm not sure I follow. My point is that I don't want to persist the current (default/non-default) list of tools into config.toml at the time of ./configure. So I don't think reading config.toml helps? |
Didn't you mean this list rust/src/bootstrap/configure.py Lines 286 to 296 in 150e163
would be unsynchronized with the value in config.example.toml? Did I missed your point? |
I think so. That list getting desynchronized is certainly a concern, but the larger concern I have is with the result of the configure script, i.e., the config.toml file. I don't want to persist an explicit configuration that we may change over time if the user hasn't explicitly requested that configuration. |
Oh, I see. Hmm, now I am thinking if handling this(e.g., if extended is true and tools is not defined, use tools from config.example.toml as default value) in |
My impression is that we do that. The issue this is trying to close is just about a misleading comment, right? It's not actually about changing any functionality. |
150e163
to
838a972
Compare
Yes, I just checked it. Sorry for any confusion/noises; I thought we were missing the functionality as well. |
@bors r+ |
📌 Commit 838a97223211298fab13df2b44883e4fde4a56f7 has been approved by It is now in the queue for this repository. |
Signed-off-by: onur-ozkan <work@onurozkan.dev>
838a972
to
685b5c2
Compare
@bors r- |
@bors r=Mark-Simulacrum |
|
./configure --enable-extended
build.extended
comments in config.example.toml
☀️ Test successful - checks-actions |
Finished benchmarking commit (e39976f): comparison URL. Overall result: no relevant changes - no action needed@rustbot label: -perf-regression Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 629.513s -> 628.501s (-0.16%) |
Fixes #115502