cross-rs / cross

“Zero setup” cross compilation and “cross testing” of Rust crates
Apache License 2.0
6.8k stars 380 forks source link

legal path to official mac targets #1514

Open mcandre opened 5 months ago

mcandre commented 5 months ago

ravynos is working on a mac compatible, open source operating system. Should probably throw a Rust toolchain on it, for the Mac Rust targets.

https://github.com/ravynsoft/ravynos

Honestly, the lack of official, easily installed, stable cross compilers in Rust for basic targets has been a major reason why I often default to Go for so many projects. It's ridiculous that the Rust Evangelism Strike Force hasn't moved LLVM into rustc, including the linker.

Emilgardis commented 5 months ago

Do they provide a linker and gcc/g++ which we can bundle? What rustc target triple would be used? I see in their readme:

Eventual compatibility with x86-64/arm64 macOS binaries (Mach-O) and libraries

So it would seem to me that it does not work currently