rustup-init: style improvements
Signed-off-by: Carlo Cabrera <30379873+carlocab@users.noreply.github.com>master
parent
259fa514da
commit
8f15600ffc
|
@ -23,10 +23,6 @@ class RustupInit < Formula
|
|||
end
|
||||
|
||||
def install
|
||||
cargo_home = buildpath/"cargo_home"
|
||||
cargo_home.mkpath
|
||||
ENV["CARGO_HOME"] = cargo_home
|
||||
|
||||
system "cargo", "install", "--features", "no-self-update", *std_cargo_args
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue