mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-06 00:41:15 -03:00
build.rs: remove rebuild_if_path_changed for C files
Repeated
CARGO_LOG=cargo::core::compiler::fingerprint=trace cargo b
show that we always rebuild because of "compat.c". Not sure why.
Let's disable this for now so we can use the cache (for test targets etc.).
This commit is contained in:
@@ -11,7 +11,6 @@ fn main() {
|
||||
}
|
||||
}
|
||||
|
||||
rsconf::rebuild_if_path_changed("fish-rust/src/cfg/compat.c");
|
||||
cc::Build::new()
|
||||
.file("fish-rust/src/compat.c")
|
||||
.include(
|
||||
@@ -167,7 +166,6 @@ fn detect_features(target: Target) {
|
||||
}
|
||||
|
||||
fn compiles(file: &str) -> bool {
|
||||
rsconf::rebuild_if_path_changed(file);
|
||||
let mut command = cc::Build::new()
|
||||
.flag("-fsyntax-only")
|
||||
.get_compiler()
|
||||
|
||||
Reference in New Issue
Block a user