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 1.18.0 #14375

Closed
wants to merge 2 commits 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
18 changes: 8 additions & 10 deletions Formula/rust.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@ class Rust < Formula
homepage "https://www.rust-lang.org/"

stable do
url "https://static.rust-lang.org/dist/rustc-1.17.0-src.tar.gz"
sha256 "4baba3895b75f2492df6ce5a28a916307ecd1c088dc1fd02dbfa8a8e86174f87"
url "https://static.rust-lang.org/dist/rustc-1.18.0-src.tar.gz"
sha256 "d2dc36e99b9e2269488b2bcddde43c234e6bde03edf70cba82a027ff49c36111"

resource "cargo" do
url "https://github.com/rust-lang/cargo.git",
:tag => "0.18.0",
:revision => "fe7b0cdcf5ca7aab81630706ce40b70f6aa2e666"
:tag => "0.19.0",
:revision => "28d1d60d4b634b70d7ceb0808144f2337c83ab95"
end

resource "racer" do
url "https://github.com/phildawes/racer/archive/2.0.6.tar.gz"
sha256 "a9704478f72037e76d4d3702fe39b3c50597bde35dac1a11bf8034de87bbdc70"
url "https://github.com/phildawes/racer/archive/2.0.8.tar.gz"
sha256 "b6a1d3033fe5ca27674afceee936cf6d04b6fc11709513e230a039a2200f8797"
end
end

Expand Down Expand Up @@ -52,10 +52,8 @@ class Rust < Formula

resource "cargobootstrap" do
# From https://github.com/rust-lang/rust/blob/#{version}/src/stage0.txt
url "https://s3.amazonaws.com/rust-lang-ci/cargo-builds/6b05583d71f982bcad049b9fa094c637c062e751/cargo-nightly-x86_64-apple-darwin.tar.gz"
# From name=cargo-nightly-x86_64-apple-darwin; tar -xf $name.tar.gz $name/version; cat $name/version
version "2017-03-13"
sha256 "0ed926ec3e5299f27fcc65f565572d2ee62fb79fc1707acfe81ced84981a30c6"
url "https://static.rust-lang.org/dist/2017-04-27/cargo-0.18.0-x86_64-apple-darwin.tar.gz"
sha256 "e5c69ed75f73cfcff0498a06da1017acaa190d912e0fe5e432b1439e4c0d4110"
end

def install
Expand Down