From 9721953dd5ff3da7ed08809d22831323c9d39efd Mon Sep 17 00:00:00 2001 From: Dan Callahan Date: Fri, 3 Apr 2015 23:19:58 -0500 Subject: rust: build as a beta channel The --release-channel flag governs the availability of unstable language features, and should be set to "beta" unless building HEAD. This change brings the Homebrew formula into line with the official builds. Closes #38354. Signed-off-by: Xu Cheng --- Library/Formula/rust.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'Library') diff --git a/Library/Formula/rust.rb b/Library/Formula/rust.rb index adb8abf79..cb3ec8c91 100644 --- a/Library/Formula/rust.rb +++ b/Library/Formula/rust.rb @@ -18,6 +18,7 @@ class Rust < Formula args = ["--prefix=#{prefix}"] args << "--disable-rpath" if build.head? args << "--enable-clang" if ENV.compiler == :clang + args << "--release-channel=beta" unless build.head? system "./configure", *args system "make" system "make install" -- cgit v1.2.3