[MacPorts] #66591: rust @1.66.0: trouble building universal arm64/x86_64
MacPorts
noreply at macports.org
Sat Dec 31 18:49:57 UTC 2022
#66591: rust @1.66.0: trouble building universal arm64/x86_64
---------------------+---------------------------------
Reporter: kencu | Owner: MarcusCalhoun-Lopez
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: rust |
---------------------+---------------------------------
Comment (by kencu):
quick hack fix, full PR in a bit once universal rust is tested.
{{{
% cat ~/patch-rust-portfile-universal.diff
diff --git a/lang/rust/Portfile b/lang/rust/Portfile
index 41450176a4e..2e48cb7117e 100644
--- a/lang/rust/Portfile
+++ b/lang/rust/Portfile
@@ -132,9 +132,10 @@ if { ${os.platform} eq "darwin" && ${os.major} < 9 }
{
configure.args-append --disable-rpath
}
if { "port:jemalloc" in ${depends_lib} } {
- configure.args-append --set=rust.jemalloc
+# configure.args-append --set=rust.jemalloc
}
+muniversal.dont_diff /opt/local/lib/rustlib/manifest-rustfmt-
preview
triplet.add_build all
triplet.add_host all
}}}
--
Ticket URL: <https://trac.macports.org/ticket/66591#comment:8>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list