1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
From: Antonin Delpeuch <antonin@delpeuch.eu>
Date: Sun, 7 Dec 2025 10:29:46 +0100
Subject: Add dh-cargo:deb-built-using to Rust bindings
Forwarded: not-needed
---
bindings/rust/build.rs | 3 +++
1 file changed, 3 insertions(+)
diff --git a/bindings/rust/build.rs b/bindings/rust/build.rs
index 463ee67..6637775 100644
--- a/bindings/rust/build.rs
+++ b/bindings/rust/build.rs
@@ -1,4 +1,7 @@
+use std::env;
+
fn main() {
+ println!("dh-cargo:deb-built-using=tree-sitter-ruby=0={}", env::var("CARGO_MANIFEST_DIR").unwrap());
let src_dir = std::path::Path::new("src");
let mut c_config = cc::Build::new();
|