aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers
diff options
context:
space:
mode:
authorJehan <jehan@girinstud.io>2019-09-21 11:57:09 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2019-09-23 13:25:53 -0400
commit179861ccd199035e4a610b0ebf28fe99cb3502ae (patch)
tree49edae6ece00b31c163864dee237c71115ff59b5 /mesonbuild/compilers
parentef3992f1cc2db7467fef2395ac3ec191eea154f0 (diff)
downloadmeson-179861ccd199035e4a610b0ebf28fe99cb3502ae.zip
meson-179861ccd199035e4a610b0ebf28fe99cb3502ae.tar.gz
meson-179861ccd199035e4a610b0ebf28fe99cb3502ae.tar.bz2
mesonbuild: fix exception name.
CrossNoRunException is in compilers module, not mesonlib.
Diffstat (limited to 'mesonbuild/compilers')
-rw-r--r--mesonbuild/compilers/mixins/clike.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/compilers/mixins/clike.py b/mesonbuild/compilers/mixins/clike.py
index 3af1768..304a912 100644
--- a/mesonbuild/compilers/mixins/clike.py
+++ b/mesonbuild/compilers/mixins/clike.py
@@ -371,7 +371,7 @@ class CLikeCompiler:
def run(self, code: str, env, *, extra_args=None, dependencies=None):
if self.is_cross and self.exe_wrapper is None:
- raise mesonlib.CrossNoRunException('Can not run test applications in this cross environment.')
+ raise compilers.CrossNoRunException('Can not run test applications in this cross environment.')
with self._build_wrapper(code, env, extra_args, dependencies, mode='link', want_output=True) as p:
if p.returncode != 0:
mlog.debug('Could not compile test file %s: %d\n' % (