init?()

in Sources/LLBBuildSystem/Rules/RuleContext.swift [30:42]


    init?(_ namedConfiguredTargetDependency: LLBNamedConfiguredTargetDependency) {
        switch namedConfiguredTargetDependency.type {

        case .single:
            // FIXME: We should validate that there is 1 and only 1 providerMap. This is sort of managed by
            // LLBBuildSystem, so it shouldn't happen that we get 0 or more than 1 provider maps here.
            self = .single(namedConfiguredTargetDependency.providerMaps[0])
        case .list:
            self = .list(namedConfiguredTargetDependency.providerMaps)
        default:
            return nil
        }
    }