Mercurial > public > mercurial-scm > hg
view rust/hg-core/build.rs @ 52841:28f0f00b5dbd
rust-pyo3: rename the `util` file to `utils`
This is the convention in the rust code, since all other places are plural.
author | Rapha?l Gom?s <rgomes@octobus.net> |
---|---|
date | Sun, 05 Jan 2025 23:39:02 +0100 |
parents | 1b7a57a5b47a |
children |
line wrap: on
line source
fn main() { // The relative paths work locally but won't if published to crates.io. println!("cargo::rerun-if-changed=../../mercurial/bdiff.c"); println!("cargo::rerun-if-changed=../../mercurial/bdiff.h"); println!("cargo::rerun-if-changed=../../mercurial/compat.h"); println!("cargo::rerun-if-changed=../../mercurial/bitmanipulation.h"); cc::Build::new() .warnings(true) .file("../../mercurial/bdiff.c") .compile("bdiff"); }