Mercurial > hg
annotate rust/chg/build.rs @ 46860:1dc86c2a43ce
revlog: directly use the Struct object for related operation
The Struct object has all the piece we needs, so no need to duplicate
information on the revlog itself.
Differential Revision: https://phab.mercurial-scm.org/D10307
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Mon, 05 Apr 2021 12:21:58 +0200 |
parents | 1f5ab1a9363d |
children |
rev | line source |
---|---|
39969
208cb7a9d0fa
rust-chg: add function to send fds via domain socket
Yuya Nishihara <yuya@tcha.org>
parents:
diff
changeset
|
1 fn main() { |
208cb7a9d0fa
rust-chg: add function to send fds via domain socket
Yuya Nishihara <yuya@tcha.org>
parents:
diff
changeset
|
2 cc::Build::new() |
208cb7a9d0fa
rust-chg: add function to send fds via domain socket
Yuya Nishihara <yuya@tcha.org>
parents:
diff
changeset
|
3 .warnings(true) |
208cb7a9d0fa
rust-chg: add function to send fds via domain socket
Yuya Nishihara <yuya@tcha.org>
parents:
diff
changeset
|
4 .file("src/sendfds.c") |
40118
cd490ac908c0
rust-chg: extract signal handlers from chg/procutil.c
Yuya Nishihara <yuya@tcha.org>
parents:
39969
diff
changeset
|
5 .file("src/sighandlers.c") |
39969
208cb7a9d0fa
rust-chg: add function to send fds via domain socket
Yuya Nishihara <yuya@tcha.org>
parents:
diff
changeset
|
6 .compile("procutil"); |
208cb7a9d0fa
rust-chg: add function to send fds via domain socket
Yuya Nishihara <yuya@tcha.org>
parents:
diff
changeset
|
7 } |