summaryrefslogtreecommitdiff
path: root/mesonbuild/modules/rust.py
diff options
context:
space:
mode:
authorCharles Brunet <charles.brunet@optelgroup.com>2023-08-10 14:35:18 -0400
committerEli Schwartz <eschwartz93@gmail.com>2023-08-18 00:36:49 -0400
commit7cbe37ebd94e9df984328fd9722cc2fc9f61651b (patch)
treebeb5045353c7fc7da5fd7db01e95db3af2073f1c /mesonbuild/modules/rust.py
parent88747b4f8d4bb35c82c8855ecbd6a29ea419b6fd (diff)
downloadmeson-7cbe37ebd94e9df984328fd9722cc2fc9f61651b.tar.gz
Add more descriptive description to CustomTarget
Allow modules using CustomTarget to modify the command description used by ninja backend. This result in more precise logs when building a project.
Diffstat (limited to 'mesonbuild/modules/rust.py')
-rw-r--r--mesonbuild/modules/rust.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/mesonbuild/modules/rust.py b/mesonbuild/modules/rust.py
index 4f5494af3..0bda2c250 100644
--- a/mesonbuild/modules/rust.py
+++ b/mesonbuild/modules/rust.py
@@ -263,6 +263,7 @@ class RustModule(ExtensionModule):
extra_depends=depends,
depend_files=depend_files,
backend=state.backend,
+ description='Generating bindings for Rust {}',
)
return ModuleReturnValue([target], [target])