diff options
| author | Dylan Baker <dylan@pnwbakers.com> | 2025-10-31 11:27:53 -0700 |
|---|---|---|
| committer | Dylan Baker <dylan@pnwbakers.com> | 2025-11-19 10:48:48 -0800 |
| commit | 8938f5efad47364da9e6234660562ae5a05f1c06 (patch) | |
| tree | 0f242235ed9c95f94be0605ef16273d256ce98cd /mesonbuild/compilers/rust.py | |
| parent | fc97e4f395e6ad551eb71b97b85df24302bcb7a4 (diff) | |
| download | meson-8938f5efad47364da9e6234660562ae5a05f1c06.tar.gz | |
compilers: Remove Environment parameter from Compiler.sanity_check
Diffstat (limited to 'mesonbuild/compilers/rust.py')
| -rw-r--r-- | mesonbuild/compilers/rust.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/compilers/rust.py b/mesonbuild/compilers/rust.py index 8068865e2..f7e392a57 100644 --- a/mesonbuild/compilers/rust.py +++ b/mesonbuild/compilers/rust.py @@ -115,7 +115,7 @@ class RustCompiler(Compiler): def needs_static_linker(self) -> bool: return False - def sanity_check(self, work_dir: str, environment: Environment) -> None: + def sanity_check(self, work_dir: str) -> None: source_name = os.path.join(work_dir, 'sanity.rs') output_name = os.path.join(work_dir, 'rusttest.exe') cmdlist = self.exelist.copy() |
