summary refs log tree commit diff stats
path: root/rust/qemu-api/build.rs
diff options
context:
space:
mode:
Diffstat (limited to 'rust/qemu-api/build.rs')
-rw-r--r--rust/qemu-api/build.rs9
1 files changed, 7 insertions, 2 deletions
diff --git a/rust/qemu-api/build.rs b/rust/qemu-api/build.rs
index 40644d5e4f..471e6c633d 100644
--- a/rust/qemu-api/build.rs
+++ b/rust/qemu-api/build.rs
@@ -20,8 +20,13 @@ fn main() -> Result<()> {
     let file = Path::new(&file);
     if !Path::new(&file).exists() {
         panic!(concat!(
-            "No generated C bindings found! If you want to run `cargo`, start a subshell\n",
-            "with `meson devenv`, or point MESON_BUILD_ROOT to the top of the build tree."
+            "\n",
+            "    No generated C bindings found! Maybe you wanted one of\n",
+            "    `make clippy`, `make rustfmt`, `make rustdoc`?\n",
+            "\n",
+            "    For other uses of `cargo`, start a subshell with\n",
+            "    `pyvenv/bin/meson devenv`, or point MESON_BUILD_ROOT to\n",
+            "    the top of the build tree."
         ));
     }