File: 2004_built-using.patch

package info (click to toggle)
tree-sitter-sdml 0.4.5-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,504 kB
  • sloc: ansic: 21,145; javascript: 1,141; lisp: 304; makefile: 250; python: 112; cpp: 14; sh: 1
file content (14 lines) | stat: -rw-r--r-- 511 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Description: hint that libtree-sitter does not require source with binaries
Author: Jonas Smedegaard <dr@jones.dk>
Forwarded: not-needed
Last-Update: 2024-09-14
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/bindings/rust/build.rs
+++ b/bindings/rust/build.rs
@@ -1,4 +1,5 @@
 fn main() {
+    println!("dh-cargo:deb-built-using=parser=0={}", std::env::var("CARGO_MANIFEST_DIR").unwrap());
     let src_dir = std::path::Path::new("src");
 
     let mut c_config = cc::Build::new();