rust: cargo 0.25.0
Closes #24410. Signed-off-by: commitay <commitay@users.noreply.github.com>
This commit is contained in:
parent
b355c8a258
commit
6921885a12
1 changed files with 7 additions and 2 deletions
|
@ -8,8 +8,8 @@ class Rust < Formula
|
|||
|
||||
resource "cargo" do
|
||||
url "https://github.com/rust-lang/cargo.git",
|
||||
:tag => "0.24.0",
|
||||
:revision => "45043115c9094d82f0f407ebc7ef7e583f438d12"
|
||||
:tag => "0.25.0",
|
||||
:revision => "8c93e089536467783957fec23b0f2627bb6ce357"
|
||||
end
|
||||
|
||||
resource "racer" do
|
||||
|
@ -61,6 +61,11 @@ class Rust < Formula
|
|||
# for -stdlib=libc++ (requires OS X 10.7 or later)"
|
||||
ENV["MACOSX_DEPLOYMENT_TARGET"] = MacOS.version
|
||||
|
||||
# Prevent cargo from linking against a different library (like openssl@1.1)
|
||||
# from libssh2 and causing segfaults
|
||||
ENV["OPENSSL_INCLUDE_DIR"] = Formula["openssl"].opt_include
|
||||
ENV["OPENSSL_LIB_DIR"] = Formula["openssl"].opt_lib
|
||||
|
||||
# Fix build failure for cmake v0.1.24 "error: internal compiler error:
|
||||
# src/librustc/ty/subst.rs:127: impossible case reached" on 10.11, and for
|
||||
# libgit2-sys-0.6.12 "fatal error: 'os/availability.h' file not found
|
||||
|
|
Loading…
Reference in a new issue