Skip to content

Commit

Permalink
rust 1.53.0
Browse files Browse the repository at this point in the history
* rust 1.53.0
* rust: update `cargo`

Closes #79503.

Co-authored-by: Carlo Cabrera <[email protected]>
Signed-off-by: Michael Cho <[email protected]>
Signed-off-by: BrewTestBot <[email protected]>
  • Loading branch information
2 people authored and BrewTestBot committed Jun 21, 2021
1 parent b7ffa86 commit a015e59
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions Formula/rust.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ class Rust < Formula
license any_of: ["Apache-2.0", "MIT"]

stable do
url "https://static.rust-lang.org/dist/rustc-1.52.1-src.tar.gz"
sha256 "3a6f23a26d0e8f87abbfbf32c5cd7daa0c0b71d0986abefc56b9a5fbfbd0bf98"
url "https://static.rust-lang.org/dist/rustc-1.53.0-src.tar.gz"
sha256 "5cf7ca39a10f6bf4e0b0bd15e3b9a61ce721f301e12d148262e5ba968ab825b9"

resource "cargo" do
url "https://github.com/rust-lang/cargo.git",
tag: "0.53.0",
revision: "69767412acbf7f64773427b1fb53e45296712c3c"
tag: "0.54.0",
revision: "4369396ce7d270972955d876eaa4954bea56bcd9"
end
end

Expand Down Expand Up @@ -43,18 +43,18 @@ class Rust < Formula
on_macos do
# From https://github.com/rust-lang/rust/blob/#{version}/src/stage0.txt
if Hardware::CPU.arm?
url "https://static.rust-lang.org/dist/2021-03-25/cargo-1.51.0-aarch64-apple-darwin.tar.gz"
sha256 "3eb0eb6192635c4b844deb97004a7e38a631bb4507b1284c055df8533c00e77a"
url "https://static.rust-lang.org/dist/2021-05-06/cargo-1.52.0-aarch64-apple-darwin.tar.gz"
sha256 "86b3d0515e80515fd93612502049e630aeba3478e45c1d6ca765002b4c2e7fd8"
else
url "https://static.rust-lang.org/dist/2021-03-25/cargo-1.51.0-x86_64-apple-darwin.tar.gz"
sha256 "37eb709e5ed8fe02d2c8d89bc0be3dc1d642cff223c25df311ff5a82eab53d4b"
url "https://static.rust-lang.org/dist/2021-05-06/cargo-1.52.0-x86_64-apple-darwin.tar.gz"
sha256 "02a4be4aae1c99ca1e325f9dbe4d65eba488fd11338d8620f8df46d010ffbf3a"
end
end

on_linux do
# From: https://github.com/rust-lang/rust/blob/#{version}/src/stage0.txt
url "https://static.rust-lang.org/dist/2021-03-25/cargo-1.51.0-x86_64-unknown-linux-gnu.tar.gz"
sha256 "fe8abe2c2b467ac5f5021ff8020eda70de9e9f8f45b4a2e834afbd3b78323a31"
url "https://static.rust-lang.org/dist/2021-05-06/cargo-1.52.0-x86_64-unknown-linux-gnu.tar.gz"
sha256 "85151d458672529692470eb85df30a46a4327e53a7e838ec65587f2c1680d559"
end
end

Expand Down

0 comments on commit a015e59

Please sign in to comment.