File: built-using.patch

package info (click to toggle)
rust-sha1-asm 0.5.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 172 kB
  • sloc: asm: 655; makefile: 4
file content (10 lines) | stat: -rw-r--r-- 386 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
Index: sha1-asm/build.rs
===================================================================
--- sha1-asm.orig/build.rs
+++ sha1-asm/build.rs
@@ -18,4 +18,5 @@ fn main() {
         build.flag("-march=armv8-a+crypto");
     }
     build.flag("-c").file(asm_path).compile("libsha1.a");
+    println!("dh-cargo:deb-built-using=sha1=0={}", std::env::var("CARGO_MANIFEST_DIR").unwrap());
 }