diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2025-10-07 15:03:49 +0200 |
|---|---|---|
| committer | Jussi Pakkanen <jussi.pakkanen@mailbox.org> | 2025-10-29 18:59:30 +0200 |
| commit | 1f0644f9c60eb8c4db7057db50f3316575d06b76 (patch) | |
| tree | e88e05557ba603e465c76e8ee76870a14d6abac3 /mesonbuild/interpreter | |
| parent | a4444c21f3890b4ae18d128864850062d6472ac6 (diff) | |
| download | meson-1f0644f9c60eb8c4db7057db50f3316575d06b76.tar.gz | |
coredata: move cmd_line.txt and command line handling to a new module
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: #15081
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'mesonbuild/interpreter')
| -rw-r--r-- | mesonbuild/interpreter/mesonmain.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mesonbuild/interpreter/mesonmain.py b/mesonbuild/interpreter/mesonmain.py index 74b655816..067d5ffb3 100644 --- a/mesonbuild/interpreter/mesonmain.py +++ b/mesonbuild/interpreter/mesonmain.py @@ -9,8 +9,8 @@ import typing as T from .. import mesonlib from .. import dependencies -from .. import build -from .. import mlog, coredata +from .. import build, cmdline +from .. import mlog from ..mesonlib import MachineChoice from ..options import OptionKey @@ -485,4 +485,4 @@ class MesonMain(MesonInterpreterObject): options = self.interpreter.user_defined_options if options is None: return '' - return coredata.format_cmd_line_options(options) + return cmdline.format_cmd_line_options(options) |
