summaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/compilers.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2025-11-13 09:45:30 -0800
committerDylan Baker <dylan@pnwbakers.com>2025-11-19 10:48:48 -0800
commit7b8685e63fec180bbb01e6e8a14cf19dcdc6440c (patch)
treea93338450ca34d28c37efa1fa26792b287fb0950 /mesonbuild/compilers/compilers.py
parent99af21565db04871af522b7ed9f584cad1c323cb (diff)
downloadmeson-7b8685e63fec180bbb01e6e8a14cf19dcdc6440c.tar.gz
compilers: Remove Environment parameter from Compiler.has_members
Diffstat (limited to 'mesonbuild/compilers/compilers.py')
-rw-r--r--mesonbuild/compilers/compilers.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/mesonbuild/compilers/compilers.py b/mesonbuild/compilers/compilers.py
index 46d74a8cd..ad793ffaf 100644
--- a/mesonbuild/compilers/compilers.py
+++ b/mesonbuild/compilers/compilers.py
@@ -563,8 +563,7 @@ class Compiler(HoldableObject, metaclass=abc.ABCMeta):
build_dir: str) -> T.List[str]:
raise EnvironmentException('%s does not support compute_parameters_with_absolute_paths ' % self.get_id())
- def has_members(self, typename: str, membernames: T.List[str],
- prefix: str, env: 'Environment', *,
+ def has_members(self, typename: str, membernames: T.List[str], prefix: str, *,
extra_args: T.Union[None, T.List[str], T.Callable[[CompileCheckMode], T.List[str]]] = None,
dependencies: T.Optional[T.List['Dependency']] = None) -> T.Tuple[bool, bool]:
raise EnvironmentException('%s does not support has_member(s) ' % self.get_id())