<pre style='margin:0'>
Aljaž Srebrnič (g5pw) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/87c75125b44542c28e5e1a00f9eb0f9e3ee21f66">https://github.com/macports/macports-ports/commit/87c75125b44542c28e5e1a00f9eb0f9e3ee21f66</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 87c7512 rust: Downgrade to llvm-4.0
</span>87c7512 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 87c75125b44542c28e5e1a00f9eb0f9e3ee21f66
</span>Author: Rainer Müller <raimue@macports.org>
AuthorDate: Tue Mar 27 04:25:42 2018 +0200
<span style='display:block; white-space:pre;color:#404040;'> rust: Downgrade to llvm-4.0
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> The update to 1.24.0 in 4b2c24ca erroneously switched to LLVM 5.0, which
</span><span style='display:block; white-space:pre;color:#404040;'> is still not supported by this rust version. Compiling with rustc will
</span><span style='display:block; white-space:pre;color:#404040;'> produce "invalid expression" messages.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> See: https://github.com/rust-lang/rust/issues/43370
</span><span style='display:block; white-space:pre;color:#404040;'> See: https://github.com/rust-lang/rust/issues/47464
</span>---
lang/rust/Portfile | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/rust/Portfile b/lang/rust/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index a3f198d..1cb0bf1 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/rust/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/rust/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,7 +5,7 @@ PortGroup muniversal 1.0
</span>
name rust
version 1.24.1
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 2
</span> categories lang devel
platforms darwin
supported_archs i386 x86_64
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -29,7 +29,9 @@ homepage https://www.rust-lang.org/
</span> depends_build path:bin/cmake:cmake \
bin:python2.7:python27
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_lib port:llvm-5.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Currently LLVM 4.0 is required, see this issue for LLVM 5.0 support:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# https://github.com/rust-lang/rust/issues/43370 .
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib port:llvm-4.0
</span>
master_sites https://static.rust-lang.org/dist
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -119,7 +121,7 @@ configure.args --enable-vendor \
</span> --default-linker=${configure.cc} \
--disable-codegen-tests \
--disable-docs \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- --llvm-root=${prefix}/libexec/llvm-5.0 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --llvm-root=${prefix}/libexec/llvm-4.0 \
</span> --release-channel=stable
if {![variant_isset universal]} {
</pre><pre style='margin:0'>
</pre>