I’m wondering if it’s possible to build a custom Swift toolchain for just macOS. I’m trying to create a minimal toolchain for use with Xcode Playgrounds and want to disable other SDKs (iOS, tvOS, watchOS).
Does it make sense to create a macOS-only toolchain? Is there a standard way to do this using
utils/build-toolchain or related scripts? Currently, I’m commenting out flags for other SDKs in
build-presets.ini and running