build-style/cargo.sh: append configure_args to cargo install
Cargo will only activate the default features for a package. Instead, pass the correct features to cargo install.
This commit is contained in:
parent
55ab04435f
commit
3842294972
1 changed files with 1 additions and 1 deletions
|
@ -18,6 +18,6 @@ do_install() {
|
||||||
: ${make_cmd:=cargo}
|
: ${make_cmd:=cargo}
|
||||||
|
|
||||||
${make_cmd} install --path . --target ${RUST_TARGET} --root="${DESTDIR}/usr" \
|
${make_cmd} install --path . --target ${RUST_TARGET} --root="${DESTDIR}/usr" \
|
||||||
--locked ${make_install_args}
|
--locked ${configure_args} ${make_install_args}
|
||||||
rm "${DESTDIR}"/usr/.crates.toml
|
rm "${DESTDIR}"/usr/.crates.toml
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue