From 3832a592db68e935e6653a503a26b41f5777ae2e Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Fri, 31 Oct 2025 11:09:16 -0700 Subject: compilers: Remove Environment parameter from Compiler.compiles() --- mesonbuild/compilers/cpp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mesonbuild/compilers/cpp.py') diff --git a/mesonbuild/compilers/cpp.py b/mesonbuild/compilers/cpp.py index b1830a1c2..f3301a963 100644 --- a/mesonbuild/compilers/cpp.py +++ b/mesonbuild/compilers/cpp.py @@ -111,7 +111,7 @@ class CPPCompiler(CLikeCompiler, Compiler): #include <{hname}> using {symbol}; int main(void) {{ return 0; }}''' - return self.compiles(t, env, extra_args=extra_args, + return self.compiles(t, extra_args=extra_args, dependencies=dependencies) def _test_cpp_std_arg(self, cpp_std_value: str) -> bool: -- cgit v1.2.3