Subject: [PATCH v2 17/18] misc: use BuildHelper

From: "Ezekiel Newren via GitGitGadget" <[email-masked]>
Date: Wed, 17 Sep 2025 01:16:37 +0000

From: Ezekiel Newren <[email-masked]>

Signed-off-by: Ezekiel Newren <[email-masked]>
---
 rust/misc/Cargo.toml | 3 +++
 rust/misc/build.rs   | 6 ++++++
 2 files changed, 9 insertions(+)
 create mode 100644 rust/misc/build.rs

diff --git a/rust/misc/Cargo.toml b/rust/misc/Cargo.toml
index 7195d7894d..0f93aa4ae4 100644
--- a/rust/misc/Cargo.toml
+++ b/rust/misc/Cargo.toml
@@ -12,3 +12,6 @@ path = "src/lib.rs"
 crate-type = ["staticlib", "rlib"]
 
 [dependencies]
+
+[build-dependencies]
+build-helper = { path = "../build-helper" }
diff --git a/rust/misc/build.rs b/rust/misc/build.rs
new file mode 100644
index 0000000000..291923ae1d
--- /dev/null
+++ b/rust/misc/build.rs
@@ -0,0 +1,6 @@
+use build_helper::BuildHelper;
+
+fn main() {
+    BuildHelper::new(std::env::vars().collect())
+        .build();
+}
-- 
gitgitgadget