File: source-distribution.patch

package info (click to toggle)
rust-cxx 1.0.192-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,808 kB
  • sloc: cpp: 1,625; javascript: 124; sh: 11; makefile: 8
file content (10 lines) | stat: -rw-r--r-- 351 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
--- a/build.rs
+++ b/build.rs
@@ -6,6 +6,7 @@
 use std::process::Command;
 
 fn main() {
+    println!("dh-cargo:deb-built-using=cxxbridge1=0={}", env::var("CARGO_MANIFEST_DIR").unwrap());
     let manifest_dir_opt = env::var_os("CARGO_MANIFEST_DIR").map(PathBuf::from);
     let manifest_dir = manifest_dir_opt.as_deref().unwrap_or(Path::new(""));