mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Fix rust modules rebuild (previously ignores changes in cargo config.toml)
This leads to the problem when you switch compiler flags, for example: $ cmake -DSANITIZE=memory .. $ ninja $ cmake -DSANITIZE= .. $ ninja And this leads to: ld.lld-15: error: undefined symbol: __msan_init >>> referenced by lib.rs.cc >>> lib.rs.o:(msan.module_ctor) in archive rust/skim/RelWithDebInfo/lib_ch_rust_skim_rust.a Reported-by: @alexey-milovidov Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
This commit is contained in:
parent
8a94bacd82
commit
72d102d94c
@ -5,4 +5,5 @@ fn main() {
|
|||||||
}
|
}
|
||||||
build.compile("skim");
|
build.compile("skim");
|
||||||
println!("cargo:rerun-if-changed=src/lib.rs");
|
println!("cargo:rerun-if-changed=src/lib.rs");
|
||||||
|
println!("cargo:rerun-if-changed=.cargo/config.toml");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user