On Thu, Oct 10, 2024 at 10:31 AM Daniel Gomez <da.gomez@xxxxxxxxxxx> wrote: > > Building Linux in macOS is now supported for arm64 (targets tested: allyesconfig > and defconfig). The upstream policy is to use the build system variables to > configure the necessary tweaks to support building in macOS. However, this > will not always be possible then, patches are welcome from the build system > maintainer to support "portability" across OSes. But not full integration. > Please, let me know if this is not clear. Thanks for writing this -- it seems similar to the summary you wrote elsewhere, but it does confirm we should probably be using build variables instead (i.e. I don't think the overall macOS support questions are answered, but we don't need to answer them here). In other words, it sounds to me like the solution here is to simply provide a variable with the current name as the default, and let out-of-tree override that if they need, rather than query `rustc`. Thus upstream can keep the variable working very easily, and out-of-tree can maintain/test the overall macOS support. Does that sound reasonable for everyone? Cheers, Miguel