Unverified Commit 4fbfc073 authored by david-perez's avatar david-perez Committed by GitHub
Browse files

Make `RequireRustBuildTool` Gradle task use `--locked` when `cargo install`ing (#2210)

parent 8013166c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -101,6 +101,7 @@ abstract class RequireRustBuildTool : DefaultTask() {
        if (System.getenv()["SMITHY_RS_DOCKER_BUILD_IMAGE"] != "1") {
            val command = mutableListOf("cargo")
            command.add("install")
            command.add("--locked")
            command.add("--path")
            command.add(toolPath!!.absolutePath)
            runCli(