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:
parent
5e57a93c3a
commit
2be5dd6156
1 changed files with 2 additions and 1 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue