diff --git a/Formula/rustup-init.rb b/Formula/rustup-init.rb index b304f2155afd6..be4f42348f5fb 100644 --- a/Formula/rustup-init.rb +++ b/Formula/rustup-init.rb @@ -18,7 +18,7 @@ def install cargo_home.mkpath ENV["CARGO_HOME"] = cargo_home - system "cargo", "install", "--root", prefix, "--path", ".", + system "cargo", "install", "--locked", "--root", prefix, "--path", ".", "--features", "no-self-update" end