Configure Swift runtime selection
mainThe SwiftToolchainInfo provider manages how the Swift runtime is linked.
- Dynamic Runtime: Use
dynamic_runtime_cc_info(aCcInfoprovider) to select the ordinary dynamic Swift runtime. This is used by final links unlessswift.static_stdlibis enabled. - Static Runtime: Use
static_runtime_cc_info(aCcInfoprovider) to select the static Swift runtime. This is used by final links whenswift.static_stdlibis enabled.