diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py index a8889b54a..3fb93caf8 100644 --- a/mesonbuild/environment.py +++ b/mesonbuild/environment.py @@ -1322,6 +1322,9 @@ class MachineInfo: return NotImplemented return not self.__eq__(other) + def __repr__(self): + return ''.format(self.system, self.cpu_family, self.cpu) + @staticmethod def detect(compilers = None): """Detect the machine we're running on