Mercurial > public > mercurial-scm > hg
view rust/hg-core/build.rs @ 52760:94e2547e6f3d
rust: move code from utils to utils::strings
This moves string-related functions in hg::utils into the recently added
hg::utils::strings module.
author | Mitchell Kember <mkember@janestreet.com> |
---|---|
date | Thu, 16 Jan 2025 13:15:02 -0500 |
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"); }