Skip to content

Conversation

bonzini
Copy link
Collaborator

@bonzini bonzini commented Oct 21, 2025

No description provided.

@bonzini bonzini added the refactoring No behavior changes label Oct 21, 2025
@bonzini bonzini force-pushed the more-options branch 2 times, most recently from 8b46857 to efb3585 Compare October 21, 2025 08:10
cmd_line.txt is not related to serialized data, in fact it's a fallback
for when serialized data cannot be used and is also related to setting
up argparse for command line parsing. Since there is no code in common
with the rest of coredata, move it to a new module.

Fixes: mesonbuild#15081
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Command line handling had almost complete annotations, but some were missing
(especially argparse related types) or wrong (the native and cross files
passed to the CmdLineFileParser).

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
They are duplicates of what is already in compilers and have no state.  Just
use compilers.

Fixes: mesonbuild#15082
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
No need to focus on the "value" part of the name.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Fixes: mesonbuild#15084
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Options are now added to pending_options only if they *can* be accepted
as pending, so there is never a need check if something is in pending_options
but not acceptable.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
@bonzini bonzini marked this pull request as ready for review October 21, 2025 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

refactoring No behavior changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant