News for hackers. Stuff that matters.
Re:Zig cc: A drop-in replacement for GCC/Clang (2020) by nicoburns on Monday July 19, 2021 @09:28AM (#27882412)
Is rust cross-compilation really is straightforward as just installing the target triple and then it "just works" (including linking and C FFI compilation)?

My understanding was that most people were using "cross" docker images for "cross-compilation", because setting up native actual cross-compilation was quite involved.

Re:Zig cc: A drop-in replacement for GCC/Clang (2020) by burntsushi on Monday July 19, 2021 @10:07AM (#27882789)
No, it isn't that easy. pcwalton is misrepresenting things here IMO.

Yes, people, including myself, use 'cross' precisely because it isn't as easy as "just use rustup to install the desired target." 'cross' has a bunch of Docker images that set up the cross compilation toolchains, and those images represent a fair amount of domain knowledge that I don't have to tediously acquire to use it.