mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-01-04 12:22:55 +00:00
fix: incremental compilation always compile the common-version crate (#4605)
fix: wrong cargo:rerun
This commit is contained in:
@@ -19,7 +19,7 @@ use build_data::{format_timestamp, get_source_time};
|
||||
use shadow_rs::{CARGO_METADATA, CARGO_TREE};
|
||||
|
||||
fn main() -> shadow_rs::SdResult<()> {
|
||||
println!("cargo:rerun-if-changed=.git/refs/heads");
|
||||
println!("cargo:rerun-if-changed=../../../.git/refs/heads");
|
||||
println!(
|
||||
"cargo:rustc-env=SOURCE_TIMESTAMP={}",
|
||||
if let Ok(t) = get_source_time() {
|
||||
|
||||
Reference in New Issue
Block a user