4 ms·
I can’t target msvc or aarch-64-apple-* and compile a binary on Linux, without resorting to significant amounts of rectal dentistry.
by eptcyka 2y ago
I can’t target msvc or aarch-64-apple-* and compile a binary on Linux, without resorting to significant amounts of rectal dentistry.
- iknowstuff 2y agoCan’t you just replace the “cargo” command with “cross” cross build —-target=… https://github.com/cross-rs/cross https://github.com/cross-rs/cross
- demurgos 2y agoCross-building for Apple is possible, but it's far from smooth with many steps that you have to figure out by yourself unfortunately.
- cooljacob204 2y agoI use this which seems to work well for my projects. Particularly their docker image. https://github.com/rust-cross/cargo-zigbuild https://github.com/rust-cross/cargo-zigbuild
- jeroenhd 2y agoI've built .exes for Windows just fine on Linux. I don't know about Apple stuff, though, I don't think there's any built-in Linux tooling to submit an executable for Apple's signature scheme.