

def get_compiler_for_lang(self, lang):
    for i in self.build.compilers:
        if (i.language == lang):
            return i
    raise RuntimeError(('No compiler for language ' + lang))

dataset/ETHPy150Open mesonbuild/meson/mesonbuild/backend/backends.py Backend.get_compiler_for_lang/original