summaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/compilers.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2025-11-13 09:08:26 -0800
committerDylan Baker <dylan@pnwbakers.com>2025-11-19 10:48:48 -0800
commit86b2cf3d1da242e22e71e506159136dd40473d30 (patch)
tree6da1a03c70954012dd20ac04b154b08a9707d82c /mesonbuild/compilers/compilers.py
parentb8d25da6e22f6d7d1e39f9b9bbc2299fc1ad090a (diff)
downloadmeson-86b2cf3d1da242e22e71e506159136dd40473d30.tar.gz
compilers: Remove Environment parameter from Compiler.has_function
Diffstat (limited to 'mesonbuild/compilers/compilers.py')
-rw-r--r--mesonbuild/compilers/compilers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/compilers/compilers.py b/mesonbuild/compilers/compilers.py
index e72d4acf9..0cf711514 100644
--- a/mesonbuild/compilers/compilers.py
+++ b/mesonbuild/compilers/compilers.py
@@ -742,7 +742,7 @@ class Compiler(HoldableObject, metaclass=abc.ABCMeta):
dependencies: T.Optional[T.List['Dependency']] = None) -> T.Tuple[int, bool]:
raise EnvironmentException('Language %s does not support alignment checks.' % self.get_display_language())
- def has_function(self, funcname: str, prefix: str, env: 'Environment', *,
+ def has_function(self, funcname: str, prefix: str, *,
extra_args: T.Optional[T.List[str]] = None,
dependencies: T.Optional[T.List['Dependency']] = None) -> T.Tuple[bool, bool]:
"""See if a function exists.