Skip to content

Commit

Permalink
sccache: add --locked flag to cargo install
Browse files Browse the repository at this point in the history
Closes #46156.

Signed-off-by: FX Coudert <[email protected]>
  • Loading branch information
chenrui333 authored and fxcoudert committed Nov 3, 2019
1 parent 12acb19 commit 48ad182
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Formula/sccache.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def install
# https://crates.io/crates/openssl#manual-configuration
ENV["OPENSSL_DIR"] = Formula["[email protected]"].opt_prefix

system "cargo", "install", "--root", prefix, "--path", ".",
system "cargo", "install", "--locked", "--root", prefix, "--path", ".",
"--features", "all"
end

Expand Down

0 comments on commit 48ad182

Please sign in to comment.