Mercurial > hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
40117:dd23eb81a3a3 | 40118:cd490ac908c0 |
---|---|
2 | 2 |
3 fn main() { | 3 fn main() { |
4 cc::Build::new() | 4 cc::Build::new() |
5 .warnings(true) | 5 .warnings(true) |
6 .file("src/sendfds.c") | 6 .file("src/sendfds.c") |
7 .file("src/sighandlers.c") | |
7 .compile("procutil"); | 8 .compile("procutil"); |
8 } | 9 } |