Building Linux kernel on macOS natively
I've recently added a Linux compatibility layer to Starina operating system based on a lightweight VM approach similar to WSL2. I can cross-compile its init program with Cargo. I can prepare a container image contents using skopeo. However, I need to build the genuine Linux kernel, preferably on my daily driver: macOS. The most common way to build Linux kernel on macOS would be using Docker Desktop, and that works fine. I know nobody need to build on macOS natively, but it looked possible - th