[PATCH v2 12/18] build: new crate, build-helper
- From
Ezekiel Newren via GitGitGadget <gitgitgadget@gmail.com>
- Date
- Sep 17, 2025, 01:16 UTC
- Message-ID
- <1c923a71f27ba204ea17a725daf45576d0aa3ec5.1758071798.git.gitgitgadget@gmail.com>
- In-Reply-To
- <pull.2043.v2.git.git.1758071798.gitgitgadget@gmail.com>
From: Ezekiel Newren <ezekielnewren@gmail.com>
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 <ezekielnewren@gmail.com> --- .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