[MacPorts] #70745: rust @ 1.81.0 Add cross compilation targets to port
MacPorts
noreply at macports.org
Mon Sep 16 11:13:44 UTC 2024
#70745: rust @ 1.81.0 Add cross compilation targets to port
-----------------------------+--------------------
Reporter: isolated-matrix | Owner: (none)
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.10.1
Keywords: | Port: rust
-----------------------------+--------------------
I have been trying to figure out a way to use the MacPorts distribution of
Rust to cross compile a program from my Mac to a linux machine for a while
now and, as far as I can tell, there is no way to do it. Tutorials online
all say that you need to install a 'target' using rustup; unfortunately,
the MacPorts distribution of rust does not include rustup. As it is, I
cannot find any way to install these targets without also installing a
second distribution of Rust on my computer, which I would like to avoid.
I was wondering if it would be possible to include cross compilation
targets in the Rust port, or, if it would be easier, to add separate,
discrete ports for the cross compilation targets themselves (similar to
the way Python packages are handled with MacPorts)?
--
Ticket URL: <https://trac.macports.org/ticket/70745>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list