aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorDan Callahan2015-04-03 23:19:58 -0500
committerXu Cheng2015-04-04 17:47:34 +0800
commit9721953dd5ff3da7ed08809d22831323c9d39efd (patch)
treed0d416c82dbd2b0a081ad406cc8991d6beba7ac2 /Library/Formula
parent9f5a75903aa876bce62f295e8f8f7b636d8ad162 (diff)
downloadhomebrew-9721953dd5ff3da7ed08809d22831323c9d39efd.tar.bz2
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 <xucheng@me.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/rust.rb1
1 files changed, 1 insertions, 0 deletions
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"