diff options
| author | Dylan Baker <dylan@pnwbakers.com> | 2024-10-01 09:26:41 -0700 |
|---|---|---|
| committer | Dylan Baker <dylan@pnwbakers.com> | 2024-10-01 10:39:23 -0700 |
| commit | d528b83ff2660518009495e02eea1d2917112082 (patch) | |
| tree | fb81b97b421904fdd55abddcfd92e644b9125bcb | |
| parent | efa85c5b645624e17ac733e209bda4d118ad8cfb (diff) | |
| download | meson-d528b83ff2660518009495e02eea1d2917112082.tar.gz | |
compilers: annotate lang_suffixes
| -rw-r--r-- | mesonbuild/compilers/compilers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/compilers/compilers.py b/mesonbuild/compilers/compilers.py index cb047be0c..35a0b2be7 100644 --- a/mesonbuild/compilers/compilers.py +++ b/mesonbuild/compilers/compilers.py @@ -51,7 +51,7 @@ lib_suffixes = {'a', 'lib', 'dll', 'dll.a', 'dylib', 'so', 'js'} # Mapping of language to suffixes of files that should always be in that language # This means we can't include .h headers here since they could be C, C++, ObjC, etc. # First suffix is the language's default. -lang_suffixes = { +lang_suffixes: T.Mapping[str, T.Tuple[str, ...]] = { 'c': ('c',), 'cpp': ('cpp', 'cppm', 'cc', 'cxx', 'c++', 'hh', 'hpp', 'ipp', 'hxx', 'ino', 'ixx', 'C', 'H'), 'cuda': ('cu',), |
