You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let cargo_bin = PathBuf::from(env::var_os("CARGO").unwrap_or_else(|| "cargo".into()));letmut cargo = Command::new(cargo_bin);// generator script is quite slow in debug mode, so we force it to be built in release mode
cargo.args(&["build","--release","--package","opencv-binding-generator","--bin","binding-generator"]).env("CARGO_TARGET_DIR",&*OUT_DIR);ifletSome(host_triple) = HOST_TRIPLE.as_ref(){
cargo.args(&["--target", host_triple]);}println!("running: {:?}",&cargo);Some(cargo.spawn()?)
Should this be fixed on opencv-rs side? What is the problem?
The text was updated successfully, but these errors were encountered:
PPakalns
changed the title
cargo udeps doesn't work with opencv-rs
cargo udeps doesn't work with opencv-rs with clang-runtime
Oct 12, 2021
This is basically the same problem as #97 is. The build script attempts to invoke cargo-udeps like it would invoke cargo, with a build command. cargo-udeps is unfamiliar with it though.
Fails with the following error:
The command that cargo udeps can not process is run during build.rs in opencv-rs crate:
https://github.com/twistedfall/opencv-rust/blob/e9093f47b079f684de2c90be0f1adfbcd29447bc/build.rs#L266
Should this be fixed on opencv-rs side? What is the problem?
The text was updated successfully, but these errors were encountered: