Mercurial > hg
annotate rust/chg/build.rs @ 51708:3131445a831b
rust: use `.cargo/config.toml` instead of `.cargo/config`
This has been deprecated for a while now and we don't support Rust versions
that only understand the old path.
author | Raphaël Gomès <rgomes@octobus.net> |
---|---|
date | Thu, 18 Jul 2024 13:36:32 +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 } |