summaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/rust.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/rust.py
parentae56005bbd8f8c47dfe14d9e540cf52ddf9b0d73 (diff)
downloadmeson-fc97e4f395e6ad551eb71b97b85df24302bcb7a4.tar.gz
compilers: Remove Environment parameter from Compiler.run_sanity_check
Diffstat (limited to 'mesonbuild/compilers/rust.py')
-rw-r--r--mesonbuild/compilers/rust.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/compilers/rust.py b/mesonbuild/compilers/rust.py
index 8133555c6..8068865e2 100644
--- a/mesonbuild/compilers/rust.py
+++ b/mesonbuild/compilers/rust.py
@@ -149,7 +149,7 @@ class RustCompiler(Compiler):
if pc.returncode != 0:
raise EnvironmentException(f'Rust compiler {self.name_string()} cannot compile programs.')
self._native_static_libs(work_dir, source_name)
- self.run_sanity_check(environment, [output_name], work_dir)
+ self.run_sanity_check([output_name], work_dir)
# Check if we are allowed to use nightly features.
# This is done here because it's the only place we have access to
# environment object, and sanity_check() is called after the compiler