diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2020-12-01 15:16:14 -0800 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2021-01-04 12:15:41 -0800 |
commit | 7142c922856ed0e060b3a0e1b75b6f542f40fca2 (patch) | |
tree | e26bfcc0824c352d0c1c66c38f60df7e0c76627e /mesonbuild/mconf.py | |
parent | e2ef6930ff0b88beed6aeee068b4cf37037d5d9d (diff) | |
download | meson-7142c922856ed0e060b3a0e1b75b6f542f40fca2.zip meson-7142c922856ed0e060b3a0e1b75b6f542f40fca2.tar.gz meson-7142c922856ed0e060b3a0e1b75b6f542f40fca2.tar.bz2 |
use OptionKey for backend_options
Diffstat (limited to 'mesonbuild/mconf.py')
-rw-r--r-- | mesonbuild/mconf.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/mconf.py b/mesonbuild/mconf.py index 9a68f7d..20e6d26 100644 --- a/mesonbuild/mconf.py +++ b/mesonbuild/mconf.py @@ -182,7 +182,7 @@ class Conf: self._add_line(section + ':', '', '', '') self.print_margin = 2 - def print_options(self, title, options): + def print_options(self, title: str, options: 'coredata.OptionDictType') -> None: if not options: return if title: @@ -232,7 +232,7 @@ class Conf: self.print_options('', self.coredata.builtins_per_machine.host) if show_build_options: self.print_options('', {insert_build_prefix(k): o for k, o in self.coredata.builtins_per_machine.build.items()}) - self.print_options('Backend options', self.coredata.backend_options) + self.print_options('Backend options', {str(k): v for k, v in self.coredata.backend_options.items()}) self.print_options('Base options', self.coredata.base_options) self.print_options('Compiler options', host_compiler_options.get('', {})) if show_build_options: |