Merge pull request #6664 from dawidd6/create-rust-locked
create: cargo install --locked
This commit is contained in:
commit
aa40b805ea
@ -167,7 +167,7 @@ module Homebrew
|
|||||||
<% elsif mode == :python %>
|
<% elsif mode == :python %>
|
||||||
virtualenv_install_with_resources
|
virtualenv_install_with_resources
|
||||||
<% elsif mode == :rust %>
|
<% elsif mode == :rust %>
|
||||||
system "cargo", "install", "--root", prefix, "--path", "."
|
system "cargo", "install", "--locked", "--root", prefix, "--path", "."
|
||||||
<% else %>
|
<% else %>
|
||||||
# Remove unrecognized options if warned by configure
|
# Remove unrecognized options if warned by configure
|
||||||
system "./configure", "--disable-debug",
|
system "./configure", "--disable-debug",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user