Subject: [PATCH v2 12/18] build: new crate, build-helper

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

From: Ezekiel Newren <[email-masked]>

Make a crate that takes care of the boiler-plate code that most
build.rs files would need to write.

Signed-off-by: Ezekiel Newren <[email-masked]>
---
 .gitignore                   | 1 +
 rust/Cargo.toml              | 4 +++-
 rust/build-helper/Cargo.toml | 7 +++++++
 rust/build-helper/src/lib.rs | 0
 4 files changed, 11 insertions(+), 1 deletion(-)
 create mode 100644 rust/build-helper/Cargo.toml
 create mode 100644 rust/build-helper/src/lib.rs

diff --git a/.gitignore b/.gitignore
index 24292eb473..e595759d71 100644
--- a/.gitignore
+++ b/.gitignore
@@ -257,3 +257,4 @@ Release/
 .idea/
 /rust/target/
 /rust/Cargo.lock
+
diff --git a/rust/Cargo.toml b/rust/Cargo.toml
index 9bc2f769fb..aaf008b5ee 100644
--- a/rust/Cargo.toml
+++ b/rust/Cargo.toml
@@ -1,3 +1,5 @@
 [workspace]
-members = []
+members = [
+    "build-helper",
+]
 resolver = "2"
diff --git a/rust/build-helper/Cargo.toml b/rust/build-helper/Cargo.toml
new file mode 100644
index 0000000000..4455fff5ce
--- /dev/null
+++ b/rust/build-helper/Cargo.toml
@@ -0,0 +1,7 @@
+[package]
+name = "build-helper"
+version = "0.1.0"
+edition = "2021"
+
+[dependencies]
+
diff --git a/rust/build-helper/src/lib.rs b/rust/build-helper/src/lib.rs
new file mode 100644
index 0000000000..e69de29bb2
-- 
gitgitgadget