3 ms·
Can’t you just replace the “cargo” command with “cross” cross build —-target=… https://github.com/cross-rs/cross https://github.com/cross-rs/cross
by iknowstuff 2y ago
Can’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