<pre style='margin:0'>
Marcus Calhoun-Lopez (MarcusCalhoun-Lopez) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/a99b1001ce0ce28d7b6150dfe3713ad8f1f1c210">https://github.com/macports/macports-ports/commit/a99b1001ce0ce28d7b6150dfe3713ad8f1f1c210</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 a99b1001ce0 rust: refactor so future changes are easer to see
</span>a99b1001ce0 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit a99b1001ce0ce28d7b6150dfe3713ad8f1f1c210
</span>Author: Marcus Calhoun-Lopez <mcalhoun@macports.org>
AuthorDate: Sun Jan 1 14:45:28 2023 -0700
<span style='display:block; white-space:pre;color:#404040;'> rust: refactor so future changes are easer to see
</span>---
lang/rust/Portfile | 7 +++----
1 file changed, 3 insertions(+), 4 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 41450176a4e..f4d32939ac1 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;'>@@ -57,6 +57,8 @@ depends_skip_archcheck cmake \
</span> dist_subdir rust
muniversal.run_binaries yes
<span style='display:block; white-space:pre;background:#e0ffe0;'>+triplet.add_host all
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+triplet.add_build all
</span>
distname rustc-${version}-src
distfiles ${distname}${extract.suffix}:apple_vendor
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -131,13 +133,10 @@ configure.args-append --disable-codegen-tests \
</span> if { ${os.platform} eq "darwin" && ${os.major} < 9 } {
configure.args-append --disable-rpath
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if { "port:jemalloc" in ${depends_lib} } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if { ${os.platform} eq "darwin" && ${os.major} > 14 } {
</span> configure.args-append --set=rust.jemalloc
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-triplet.add_build all
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-triplet.add_host all
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> foreach arch ${muniversal.architectures} {
set platform [option triplet.${arch}]
set rustc_prefix ${workpath}/rustc-${rustc_version}-${platform}
</pre><pre style='margin:0'>
</pre>