Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rustup: renamed from rustup-init #177840

Merged
merged 5 commits into from
Jul 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Formula/r/rustfmt.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class Rustfmt < Formula
sha256 cellar: :any_skip_relocation, x86_64_linux: "0e93863d9f42ac0ec4bda61168758d82e2164a400ea80d929433c864728977ba"
end

depends_on "rustup-init" => :build
depends_on "rustup" => :build
depends_on "rust" => :test
uses_from_macos "zlib"

Expand Down
74 changes: 0 additions & 74 deletions Formula/r/rustup-init.rb

This file was deleted.

2 changes: 1 addition & 1 deletion Formula/s/signal-cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class SignalCli < Formula
depends_on "protobuf" => :build
# libsignal-client requires a specific version of rustc
# https://github.com/signalapp/libsignal/blob/#{libsignal-client.version}/rust-toolchain
depends_on "rustup-init" => :build
depends_on "rustup" => :build

depends_on "openjdk@21"

Expand Down
4 changes: 2 additions & 2 deletions Formula/t/tinysearch.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class Tinysearch < Formula

depends_on "rust" => :build

depends_on "rustup-init"
depends_on "rustup"
depends_on "wasm-pack"

def install
Expand All @@ -29,7 +29,7 @@ def install
end

test do
ENV.prepend_path "PATH", Formula["rustup-init"].bin
ENV.prepend_path "PATH", Formula["rustup"].bin
system "rustup", "default", "stable"
system "rustup", "set", "profile", "minimal"

Expand Down
4 changes: 2 additions & 2 deletions Formula/w/wasm-pack.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class WasmPack < Formula

depends_on "cmake" => :build
depends_on "rust" => :build
depends_on "rustup-init"
depends_on "rustup"

def install
system "cargo", "install", *std_cargo_args
Expand All @@ -27,7 +27,7 @@ def install
test do
assert_match "wasm-pack #{version}", shell_output("#{bin}/wasm-pack --version")

ENV.prepend_path "PATH", Formula["rustup-init"].bin
ENV.prepend_path "PATH", Formula["rustup"].bin
system "rustup", "default", "stable"
system "rustup", "set", "profile", "minimal"

Expand Down
1 change: 1 addition & 0 deletions formula_renames.json
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@
"root6": "root",
"rt-audio": "rtaudio",
"rtx": "mise",
"rustup-init": "rustup",
"screenbrightness": "brightness",
"sdl": "sdl12-compat",
"selenium-server-standalone": "selenium-server",
Expand Down
Loading