diff options
| author | Dylan Baker <dylan@pnwbakers.com> | 2025-11-13 11:34:44 -0800 |
|---|---|---|
| committer | Dylan Baker <dylan@pnwbakers.com> | 2025-11-19 10:48:48 -0800 |
| commit | 68b959c2c7a2cfb88ebf2205f25bf77abe318cb9 (patch) | |
| tree | dc0758cbcd98778d27ae6d91960deaa16b43107d /mesonbuild/compilers/rust.py | |
| parent | a76dae2d9b22d53e72343e9ea86cd79c9fa39310 (diff) | |
| download | meson-68b959c2c7a2cfb88ebf2205f25bf77abe318cb9.tar.gz | |
compilers: Remove Environment parameter from RustCompiler.get_rustdoc
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 0a1aea93e..b214a218d 100644 --- a/mesonbuild/compilers/rust.py +++ b/mesonbuild/compilers/rust.py @@ -456,7 +456,7 @@ class RustCompiler(Compiler): return self.compiles('fn main() { std::process::exit(0) }\n', extra_args=args, mode=CompileCheckMode.LINK) @functools.lru_cache(maxsize=None) - def get_rustdoc(self, env: 'Environment') -> T.Optional[RustdocTestCompiler]: + def get_rustdoc(self) -> T.Optional[RustdocTestCompiler]: exelist = self.get_rust_tool('rustdoc') if not exelist: return None |
