summaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/compilers.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2025-10-31 11:27:53 -0700
committerDylan Baker <dylan@pnwbakers.com>2025-11-19 10:48:48 -0800
commit8938f5efad47364da9e6234660562ae5a05f1c06 (patch)
tree0f242235ed9c95f94be0605ef16273d256ce98cd /mesonbuild/compilers/compilers.py
parentfc97e4f395e6ad551eb71b97b85df24302bcb7a4 (diff)
downloadmeson-8938f5efad47364da9e6234660562ae5a05f1c06.tar.gz
compilers: Remove Environment parameter from Compiler.sanity_check
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 73a623c9a..5dc53a86a 100644
--- a/mesonbuild/compilers/compilers.py
+++ b/mesonbuild/compilers/compilers.py
@@ -1213,7 +1213,7 @@ class Compiler(HoldableObject, metaclass=abc.ABCMeta):
return ' '.join(self.exelist)
@abc.abstractmethod
- def sanity_check(self, work_dir: str, environment: 'Environment') -> None:
+ def sanity_check(self, work_dir: str) -> None:
"""Check that this compiler actually works.
This should provide a simple compile/link test. Something as simple as: