I wouldn’t call either of those effortless, though. I’m thinking of something similar to Zig’s DX for cross-compilation.
zig makes cross-compiling easy for a single project - but not everything is zig (or supported by zig cc)
the various embedded build systems make cross-compiling easy at scale, which means you often don't need to think about it when adding a new package
zig makes cross-compiling easy for a single project - but not everything is zig (or supported by zig cc)
the various embedded build systems make cross-compiling easy at scale, which means you often don't need to think about it when adding a new package