Permalink
Browse files

Rust 0.6.0

Closes #18940.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
  • Loading branch information...
1 parent a526be1 commit 461428fe936658e04a83218f494900ef6ba2101c @steveklabnik steveklabnik committed with adamv Apr 3, 2013
Showing with 2 additions and 12 deletions.
  1. +2 −12 Library/Formula/rust.rb
View
@@ -2,24 +2,14 @@
class Rust < Formula
homepage 'http://www.rust-lang.org/'
- url 'http://dl.rust-lang.org/dist/rust-0.5.tar.gz'
- sha256 'd326d22707f0562d669c11efbc33ae812ddbf76ab78f07087fc5beb095a8928a'
+ url 'http://static.rust-lang.org/dist/rust-0.6.tar.gz'
+ sha256 'e11cb529a1e20f27d99033181a9e0e131817136b46d2742f0fa1afa1210053e5'
fails_with :clang do
build 318
cause "cannot initialize a parameter of type 'volatile long long *' with an rvalue of type 'int *'"
end
- # Fix repl showstopper bug; can be removed for 0.6.
- # and add clang 4.2 support for new XCode
- def patches
- [ "https://github.com/mozilla/rust/commit/9bf87bbf66227c132283ae59720f919601de9a56.patch",
- "https://github.com/mozilla/rust/commit/37f97ff5041839aa42892115de954489f9eab5bc.patch",
- "https://github.com/mozilla/rust/commit/bb51a8442fb16d71faccac1abfa953d8b1e37cb7.patch",
- "https://github.com/mozilla/rust/commit/2c46bf7e318f585947c2146ce42c249fba3bc326.patch",
- "https://github.com/mozilla/rust/commit/3ee1d3ebb81de199fc630a86933ac18c0a869482.patch" ]
- end
-
def install
args = ["--prefix=#{prefix}"]
args << "--enable-clang" if ENV.compiler == :clang

0 comments on commit 461428f

Please sign in to comment.