mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
82aaad61aa
Note, that it can the fail the client if the skim itself will fail, however I haven't seen it panicd, so let's try. P.S. about adding USE_SKIM into configure header instead of just compile option for target, it is better, because it allows not to recompile lots of C++ headers, since we have to add skim library as PUBLIC. But anyway this will be resolved in a different way, but separatelly. Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
9 lines
224 B
Rust
9 lines
224 B
Rust
fn main() {
|
|
let mut build = cxx_build::bridge("src/lib.rs");
|
|
for flag in "@RUST_CXXFLAGS@".split(' ') {
|
|
build.flag(flag);
|
|
}
|
|
build.compile("skim");
|
|
println!("cargo:rerun-if-changed=src/lib.rs");
|
|
}
|