summaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/compilers.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2025-11-12 10:01:39 -0800
committerDylan Baker <dylan@pnwbakers.com>2025-11-19 10:48:48 -0800
commit198156295899ddb5e9c91f1c889d50f27e8a7692 (patch)
tree7e97c19e5b3d87c46707eea75435fd0f0232aaf6 /mesonbuild/compilers/compilers.py
parent2b03e91c15d580abe7d27dc8619558073a885db7 (diff)
downloadmeson-198156295899ddb5e9c91f1c889d50f27e8a7692.tar.gz
compilers: Remove Environment parameter from Compiler.has_function_attribute
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 f9de3e54a..9795668fc 100644
--- a/mesonbuild/compilers/compilers.py
+++ b/mesonbuild/compilers/compilers.py
@@ -988,7 +988,7 @@ class Compiler(HoldableObject, metaclass=abc.ABCMeta):
# or does not target Windows
return self.linker.get_win_subsystem_args(value)
- def has_func_attribute(self, name: str, env: 'Environment') -> T.Tuple[bool, bool]:
+ def has_func_attribute(self, name: str) -> T.Tuple[bool, bool]:
raise EnvironmentException(
f'Language {self.get_display_language()} does not support function attributes.')