File: build.rs.patch

package info (click to toggle)
rust-alloca 0.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 128 kB
  • sloc: ansic: 13; makefile: 4
file content (22 lines) | stat: -rw-r--r-- 690 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Description: build.rs
Author: ed-debian@s5h.net
Origin: other
Last-Update: 2026-01-18
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
Index: build/alloca/build.rs
===================================================================
--- alloca.old/build.rs	2006-07-24 02:21:28.000000000 +0100
+++ alloca/build.rs	2026-01-18 20:54:37.152895204 +0000
@@ -1,3 +1,5 @@
+use std::env;
+
 fn main() {
     let mut builder = cc::Build::new();
     #[cfg(feature = "stack-clash-protection")]
@@ -10,4 +12,5 @@
     .file("alloca.c")
     .opt_level(2)
     .compile("calloca");
+    println!("dh-cargo:deb-built-using=calloca=0={}", env::var("CARGO_MANIFEST_DIR").unwrap());
 }