Fix incremental compilation of src/libc.c with cargo

src/libc.c changes were not being picked up.
This commit is contained in:
Mahmoud Al-Qudsi 2024-02-01 13:51:04 -06:00
parent c53a494f52
commit cf3d3f6497

View file

@ -24,6 +24,7 @@ fn main() {
.unwrap(),
);
rsconf::rebuild_if_path_changed("src/libc.c");
cc::Build::new()
.file("src/libc.c")
.include(build_dir)