I'm working in a container that is used for cross compiling to aarch64-unknown-linux-gnu by including build.target = "aarch64-unknown-linux-gnu" inside of ${CARGO_HOME}/config. This causes the bindings generator to fail to build. It should always specify the host target when invoking a secondary cargo command.
Operating system: Linux 5.7.8 in a podman container
OpenCV installation: manual cross-compilation
OpenCV version: 4.5.1
Rustc version: rustc 1.49.0 (e1884a8e3 2020-12-29)
I'm working in a container that is used for cross compiling to aarch64-unknown-linux-gnu by including
build.target = "aarch64-unknown-linux-gnu"
inside of${CARGO_HOME}/config
. This causes the bindings generator to fail to build. It should always specify the host target when invoking a secondary cargo command.Operating system: Linux 5.7.8 in a podman container OpenCV installation: manual cross-compilation OpenCV version: 4.5.1 Rustc version: rustc 1.49.0 (e1884a8e3 2020-12-29)
Output of
cargo build -vv