From ba72fc7f40dce218795758568c08c41a4657affe Mon Sep 17 00:00:00 2001 From: Andres Freund Date: Sat, 18 Feb 2023 17:42:22 -0800 Subject: [PATCH] interpreter: bolden result of compiler.alignment(), compiler.sizeof() This is more in line with other tests. It also looks better when introducing caching, as a subsequent commit will. --- mesonbuild/interpreter/compiler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mesonbuild/interpreter/compiler.py b/mesonbuild/interpreter/compiler.py index eab8607e9..c6d0293b3 100644 --- a/mesonbuild/interpreter/compiler.py +++ b/mesonbuild/interpreter/compiler.py @@ -275,7 +275,7 @@ class CompilerHolder(ObjectHolder['Compiler']): result = self.compiler.alignment(typename, kwargs['prefix'], self.environment, extra_args=kwargs['args'], dependencies=deps) - mlog.log('Checking for alignment of', mlog.bold(typename, True), msg, result) + mlog.log('Checking for alignment of', mlog.bold(typename, True), msg, mlog.bold(str(result))) return result @typed_pos_args('compiler.run', (str, mesonlib.File)) @@ -421,7 +421,7 @@ class CompilerHolder(ObjectHolder['Compiler']): deps, msg = self._determine_dependencies(kwargs['dependencies'], compile_only=self.compiler.is_cross) esize = self.compiler.sizeof(element, kwargs['prefix'], self.environment, extra_args=extra_args, dependencies=deps) - mlog.log('Checking for size of', mlog.bold(element, True), msg, esize) + mlog.log('Checking for size of', mlog.bold(element, True), msg, mlog.bold(str(esize))) return esize @FeatureNew('compiler.get_define', '0.40.0')