3 ms·
What do you need macOS for? Have you considered cross-compilation? Zig + Rust allows cross-compilation for Rust: https://actually.fyi/posts/zig-makes-rust-cros
by shepherdjerred 3y ago
What do you need macOS for? Have you considered cross-compilation?
Zig + Rust allows cross-compilation for Rust: https://actually.fyi/posts/zig-makes-rust-cross-compilation-just-work/ https://actually.fyi/posts/zig-makes-rust-cross-compilation-...
- mratsim 3y agoAnything that interact with the kernel needs to be tested on the actual OS. Simiarly if you call native libraries. And Apple Clang masquerading as GCC or not having all upstream LLVM patches is also annoying.
- shepherdjerred 3y agoSure, but now your interaction with macOS is limited to automated testing and not compilation + testing. Depending on the application, this could be worthwhile. For example, at work, we cross-compile C/C++/Fortran/Rust code in R packages. We compile for supported versions of R, so that ends up being tens of thousands of packages that we need to compile. By cross-compiling we saved a lot of work and nearly eliminated our need for macOS.
- suryao 3y agoA very common use case for macos runners is iOS builds.
- shepherdjerred 3y agoYou can cross-compile iOS apps.