summaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/d.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2025-10-31 11:20:09 -0700
committerDylan Baker <dylan@pnwbakers.com>2025-11-19 10:48:48 -0800
commitfc97e4f395e6ad551eb71b97b85df24302bcb7a4 (patch)
treebee3aedd2c51b374b79080eaa50d8916eaadc2a0 /mesonbuild/compilers/d.py
parentae56005bbd8f8c47dfe14d9e540cf52ddf9b0d73 (diff)
downloadmeson-fc97e4f395e6ad551eb71b97b85df24302bcb7a4.tar.gz
compilers: Remove Environment parameter from Compiler.run_sanity_check
Diffstat (limited to 'mesonbuild/compilers/d.py')
-rw-r--r--mesonbuild/compilers/d.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/compilers/d.py b/mesonbuild/compilers/d.py
index 7d30bfb19..761ed5fc3 100644
--- a/mesonbuild/compilers/d.py
+++ b/mesonbuild/compilers/d.py
@@ -454,7 +454,7 @@ class DCompiler(Compiler):
if pc.returncode != 0:
raise EnvironmentException('D compiler %s cannot compile programs.' % self.name_string())
- stdo, stde = self.run_sanity_check(environment, [output_name], work_dir)
+ stdo, stde = self.run_sanity_check([output_name], work_dir)
def needs_static_linker(self) -> bool:
return True