<pre style='margin:0'>
Chris Jones (cjones051073) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/9a7bc15174d50594a45357b3cb50a320e2344f5e">https://github.com/macports/macports-ports/commit/9a7bc15174d50594a45357b3cb50a320e2344f5e</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 9a7bc15174d rust: Ensure all Xcode clangs are blacklisted on macOS10.13 (and older)
</span>9a7bc15174d is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 9a7bc15174d50594a45357b3cb50a320e2344f5e
</span>Author: Chris Jones <jonesc@macports.org>
AuthorDate: Wed Nov 3 15:09:52 2021 +0000
<span style='display:block; white-space:pre;color:#404040;'> rust: Ensure all Xcode clangs are blacklisted on macOS10.13 (and older)
</span>---
lang/rust/Portfile | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
<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 e20525958f1..118008e8a59 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;'>@@ -10,7 +10,7 @@ legacysupport.newest_darwin_requires_legacy 15
</span>
name rust
version 1.56.1
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span> categories lang devel
platforms darwin
supported_archs x86_64 arm64
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -175,6 +175,11 @@ compiler.blacklist-append {macports-clang-[4-9].0}
</span> # Want to force a specific version, as it is baked into wrapper scripts, so do
# not want it changing if default fallbacks are changed. Use clang-12 for now.
compiler.blacklist-append {macports-clang-1[2-9]}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# Blacklist all possible Xcode clang versions on macOS 10.13 and older
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# https://trac.macports.org/ticket/63341
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if { ${os.platform} eq "darwin" && ${os.major} < 18 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ compiler.blacklist-append {clang < 1100}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span>
# Compiler used needed at runtime with rust, so if a MacPorts clang compiler used needs to be a dep
if { [string match macports-clang-* ${configure.compiler}] } {
</pre><pre style='margin:0'>
</pre>