Mercurial > public > mercurial-scm > hg-stable
view rust/hg-core/build.rs @ 52991:d7174b43f3e6
typing: fix the signature of `treemanifest.fastdelta()`
We're still missing a few explicit bits of Protocol subclassing, and pytype
found this when the subclassing is applied. So fix this first.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Tue, 17 Dec 2024 19:29:08 -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"); }