summaryrefslogtreecommitdiff
path: root/mesonbuild/compilers
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2025-03-07 10:54:31 +0100
committerDylan Baker <dylan@pnwbakers.com>2025-04-02 08:44:37 -0700
commitd9af002fa2531e25f1ba81f20eda42c2659d49ea (patch)
tree6583859c7b08948ea7bc745a3c56fbb42483fe91 /mesonbuild/compilers
parent7b166c0a41615f1e3e51d6fbb132959ff0d77536 (diff)
downloadmeson-d9af002fa2531e25f1ba81f20eda42c2659d49ea.tar.gz
compilers: rust: fix derivation of RustdocTestCompiler
Pass down the full_version, otherwise assigning "self.is_beta" fails. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'mesonbuild/compilers')
-rw-r--r--mesonbuild/compilers/rust.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/mesonbuild/compilers/rust.py b/mesonbuild/compilers/rust.py
index 249ae1fc7..bfc83a57a 100644
--- a/mesonbuild/compilers/rust.py
+++ b/mesonbuild/compilers/rust.py
@@ -340,7 +340,8 @@ class RustCompiler(Compiler):
return None
return RustdocTestCompiler(exelist, self.version, self.for_machine,
- self.is_cross, self.info, linker=self.linker)
+ self.is_cross, self.info, full_version=self.full_version,
+ linker=self.linker)
class ClippyRustCompiler(RustCompiler):