This commit is contained in:
11
crates/kreuzberg/build.rs
Normal file
11
crates/kreuzberg/build.rs
Normal file
@@ -0,0 +1,11 @@
|
||||
fn main() {
|
||||
println!("cargo::rustc-check-cfg=cfg(coverage)");
|
||||
|
||||
if std::env::var_os("CARGO_FEATURE_ORT_BUNDLED").is_some()
|
||||
&& std::env::var_os("CARGO_FEATURE_ORT_DYNAMIC").is_some()
|
||||
{
|
||||
println!(
|
||||
"cargo::warning=features 'ort-bundled' and 'ort-dynamic' are both enabled; bundled ORT remains the default unless dynamic ORT is explicitly selected at runtime"
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user