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

rust: migrate to [email protected] #62694

Closed
wants to merge 1 commit into from
Closed
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
5 changes: 3 additions & 2 deletions Formula/rust.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ class Rust < Formula
desc "Safe, concurrent, practical language"
homepage "https://www.rust-lang.org/"
license any_of: ["Apache-2.0", "MIT"]
revision 1

stable do
url "https://static.rust-lang.org/dist/rustc-1.46.0-src.tar.gz"
Expand Down Expand Up @@ -30,7 +31,7 @@ class Rust < Formula
end

depends_on "cmake" => :build
depends_on "python@3.8" => :build
depends_on "python@3.9" => :build
depends_on "libssh2"
depends_on "[email protected]"
depends_on "pkg-config"
Expand All @@ -53,7 +54,7 @@ class Rust < Formula
end

def install
ENV.prepend_path "PATH", Formula["python@3.8"].opt_libexec/"bin"
ENV.prepend_path "PATH", Formula["python@3.9"].opt_libexec/"bin"

# Fix build failure for compiler_builtins "error: invalid deployment target
# for -stdlib=libc++ (requires OS X 10.7 or later)"
Expand Down