build-style/cargo: use configure_args in do_check.

Cargo rebuilds the package if the command line arguments aren't the
same, which makes it test the wrong binary.
This commit is contained in:
Érico Rolim 2020-06-29 12:39:08 -03:00 committed by Johannes
parent 5e57a93c3a
commit 2be5dd6156

View file

@ -11,7 +11,8 @@ do_build() {
do_check() {
: ${make_cmd:=cargo}
${make_cmd} test --release ${make_check_args}
${make_cmd} test --release --target ${RUST_TARGET} ${configure_args} \
${make_check_args}
}
do_install() {