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.
pull/11478/head
Andres Freund 2 years ago committed by Eli Schwartz
parent c7943b993d
commit ba72fc7f40
  1. 4
      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')

Loading…
Cancel
Save