12 lines
413 B
Rust
12 lines
413 B
Rust
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"
|
|
);
|
|
}
|
|
}
|