diff --git a/common/build-style/cargo.sh b/common/build-style/cargo.sh index a2a0dfe3744..cff16bee082 100644 --- a/common/build-style/cargo.sh +++ b/common/build-style/cargo.sh @@ -18,6 +18,6 @@ do_install() { : ${make_cmd:=cargo} ${make_cmd} install --path . --target ${RUST_TARGET} --root="${DESTDIR}/usr" \ - ${make_install_args} + --locked ${make_install_args} rm "${DESTDIR}"/usr/.crates.toml }