Skip to content

Commit

Permalink
Merge pull request #1 from palad1/palad1-fix-rustc-1-6-0-cargo-snapshot
Browse files Browse the repository at this point in the history
Fixed rust incompatibility with crates.io
  • Loading branch information
fdoyon committed Feb 25, 2016
2 parents c29c83c + 0d1c6c2 commit 7848de7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Library/Formula/rust.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ class Rust < Formula

resource "cargo" do
# git required because of submodules
url "https://github.com/rust-lang/cargo.git", :tag => "0.8.0", :revision => "28a0cbb2212c295264a7a3031a4be0113a17aa91"
url "https://github.com/rust-lang/cargo.git", :revision => "c8fcec3658cdce4f915c3ac350f5701e35941c4f"

end

# name includes date to satisfy cache
Expand Down Expand Up @@ -85,6 +86,10 @@ def install
end

system "./configure", "--prefix=#{prefix}", "--local-rust-root=#{prefix}", "--enable-optimize"

# Snapshots.txt for 1.6.0 are NOT compatible with crates.io
system

system "make"
system "make", "install"
end
Expand Down

0 comments on commit 7848de7

Please sign in to comment.