<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/d389744ee49792013613204c4dda9ad0e3aa473f">https://github.com/macports/macports-ports/commit/d389744ee49792013613204c4dda9ad0e3aa473f</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit d389744ee49792013613204c4dda9ad0e3aa473f
</span>Author: Mohamed Akram <mohd.akram@outlook.com>
AuthorDate: Sat Feb 3 20:33:22 2018 +0400
<span style='display:block; white-space:pre;color:#404040;'> rust: add stdlib analysis
</span>---
lang/rust/Portfile | 5 +++++
1 file changed, 5 insertions(+)
<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 10ee171..6a1a683 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;'>@@ -107,6 +107,7 @@ configure.args --build=${rust_platform} \
</span> --set=target.${rust_platform}.cxx=${configure.cxx} \
--set=target.${rust_platform}.linker=${configure.cc}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+build.env RUSTC_SAVE_ANALYSIS=api
</span> build.args VERBOSE=1 BOOTSTRAP_ARGS="-v -j${build.jobs}"
test.run yes
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -116,6 +117,10 @@ test.args VERBOSE=1
</span> destroot.args VERBOSE=1
post-destroot {
if {${subport} eq ${name}} {
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ file copy \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/build/${rust_platform}/stage1-std/${rust_platform}/release/deps/save-analysis \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${prefix}/lib/rustlib/${rust_platform}/analysis
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> xinstall -d ${destroot}${prefix}/share/${name}
xinstall -m 644 ${worksrcpath}/src/etc/ctags.rust \
${destroot}${prefix}/share/${name}
</pre><pre style='margin:0'>
</pre>