diff options
Diffstat (limited to 'mesonbuild/environment.py')
-rw-r--r-- | mesonbuild/environment.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py index d0dccf4..0832463 100644 --- a/mesonbuild/environment.py +++ b/mesonbuild/environment.py @@ -1127,14 +1127,6 @@ class Environment: return comp, cross_comp - def check_compilers(self, lang: str, comp: Compiler, cross_comp: Compiler): - if comp is None: - raise EnvironmentException('Tried to use unknown language "%s".' % lang) - - comp.sanity_check(self.get_scratch_dir(), self) - if cross_comp: - cross_comp.sanity_check(self.get_scratch_dir(), self) - def detect_compilers(self, lang: str, need_cross_compiler: bool): (comp, cross_comp) = self.compilers_from_language(lang, need_cross_compiler) if comp is not None: |