The swift build --help command has an option --use-integrated-swift-driver. This option is not completely functional in the Native build system.
The option should be deprecated on the native build system, and be a no-op with the SwiftBuild build system