diff options
| author | Jon Turney <jon.turney@dronecode.org.uk> | 2020-02-09 18:49:03 +0000 |
|---|---|---|
| committer | Jon Turney <jon.turney@dronecode.org.uk> | 2020-02-12 13:33:07 +0000 |
| commit | 1464ac6ed54cad795444d240d3bdb83568f5601f (patch) | |
| tree | cfa6c7e19bcc4973d13b1a29f8211ee8f73828ec /mesonbuild/compilers/__init__.py | |
| parent | 021fd9a1d0535453a515f44aa4f15af9553eed40 (diff) | |
| download | meson-1464ac6ed54cad795444d240d3bdb83568f5601f.tar.gz | |
Improve error reported when language has no compiler
This gives consistent reporting of this error for all platforms.
Also, reporting this error when constructing the BuildTarget, rather
than discovering the problem during backend generation means that the
error is reported against with a location.
Diffstat (limited to 'mesonbuild/compilers/__init__.py')
| -rw-r--r-- | mesonbuild/compilers/__init__.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mesonbuild/compilers/__init__.py b/mesonbuild/compilers/__init__.py index b378a63e7..a4e39432a 100644 --- a/mesonbuild/compilers/__init__.py +++ b/mesonbuild/compilers/__init__.py @@ -30,6 +30,7 @@ __all__ = [ 'is_llvm_ir', 'is_object', 'is_source', + 'is_known_suffix', 'lang_suffixes', 'sort_clink', @@ -115,6 +116,7 @@ from .compilers import ( is_llvm_ir, is_object, is_library, + is_known_suffix, lang_suffixes, sort_clink, CompilerArgs, |
