In the proposal SE-0387 the section labeled "toolset.json Files" talks about being able to pass toolset.json files to swift build, swift test, and swift run:
However, today in Swift 6.0, if I try to use the --toolset flag, it doesn't exist:
$ swift build --toolset
error: Unknown option '--toolset'
Usage: swift build <options>
See 'build -help' for more information.
What happened to this? Is it a feature that is coming soon, or was it seen as something that wasn't needed to be implemented from SE-0387?
No, it's been in since 5.9 last year, though obviously a few flags/features like this might have been missed. The static linux SDK is built using this new SDK bundle format.
It's too bad. I was hoping on being able to just pass a --toolset file to swift build instead of having to create a whole SDK just to cross compile for my embedded STM32C011...
It's unfortunate that this is only half baked so far!