mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-21 14:45:42 +08: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:
parent
f118dbc4b9
commit
8fe82fcfcf
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user