From 160a47011854c7352cc7a18bc5db8e5ceb0479a4 Mon Sep 17 00:00:00 2001 From: Dawid Dziurla Date: Wed, 30 Oct 2019 20:13:45 +0100 Subject: [PATCH] create: cargo install --locked --- Library/Homebrew/formula_creator.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/formula_creator.rb b/Library/Homebrew/formula_creator.rb index 85a2e7c3f5..06ce159785 100644 --- a/Library/Homebrew/formula_creator.rb +++ b/Library/Homebrew/formula_creator.rb @@ -167,7 +167,7 @@ module Homebrew <% elsif mode == :python %> virtualenv_install_with_resources <% elsif mode == :rust %> - system "cargo", "install", "--root", prefix, "--path", "." + system "cargo", "install", "--locked", "--root", prefix, "--path", "." <% else %> # Remove unrecognized options if warned by configure system "./configure", "--disable-debug",