I wouldn’t call either of those effortless, though. I’m thinking of something similar to Zig’s DX for cross-compilation.
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