diff rust/chg/build.rs @ 40118:cd490ac908c0

rust-chg: extract signal handlers from chg/procutil.c abortmsgerrno() and debugmsg() are removed, and the public interface instead returns success/error status. Since signal handlers can't propagate errors, the result of kill() is just ignored.
author Yuya Nishihara <yuya@tcha.org>
date Mon, 24 Sep 2018 22:04:57 +0900
parents 208cb7a9d0fa
children 1f5ab1a9363d
line wrap: on
line diff
--- a/rust/chg/build.rs	Sun Oct 07 23:19:49 2018 +0900
+++ b/rust/chg/build.rs	Mon Sep 24 22:04:57 2018 +0900
@@ -4,5 +4,6 @@
     cc::Build::new()
         .warnings(true)
         .file("src/sendfds.c")
+        .file("src/sighandlers.c")
         .compile("procutil");
 }