From 28df8f66913f79cccf7982b955559cde23cb2f52 Mon Sep 17 00:00:00 2001 From: Francois-Xavier Coudert Date: Sun, 11 Oct 2020 17:07:04 +0200 Subject: [PATCH] rust: migrate to python@3.9 Closes #62694. Signed-off-by: FX Coudert --- Formula/rust.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Formula/rust.rb b/Formula/rust.rb index 67c7f8c1ff070..1985f2b1faa7b 100644 --- a/Formula/rust.rb +++ b/Formula/rust.rb @@ -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" @@ -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 "openssl@1.1" depends_on "pkg-config" @@ -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)"