| 49 | } |
| 50 | |
| 51 | static bool supportMatrixContains(Span<const Build::SupportMatrixEntry> matrix, Build::Platform::Type hostPlatform, |
| 52 | Build::TargetEnvironment::Type targetEnvironment, |
| 53 | Build::Architecture::Type targetArchitecture, Build::SupportStatus::Type buildSupport, |
| 54 | Build::SupportStatus::Type runSupport, Build::SupportTier::Type tier, |
| 55 | Build::RunnerSpec::Type runner) |
| 56 | { |
| 57 | for (const Build::SupportMatrixEntry& entry : matrix) |
| 58 | { |
| 59 | if (entry.hostMachine.platform == hostPlatform and |
| 60 | entry.hostMachine.environment == Build::TargetEnvironment::Native and |
| 61 | entry.targetMachine.environment == targetEnvironment and |
| 62 | entry.targetMachine.architecture == targetArchitecture and entry.buildSupport == buildSupport and |
| 63 | entry.runSupport == runSupport and entry.tier == tier and entry.runner == runner) |
| 64 | { |
| 65 | return true; |
| 66 | } |
| 67 | } |
| 68 | return false; |
| 69 | } |
| 70 | |
| 71 | static constexpr StringView supportMatrixHostName(Build::Platform::Type platform) |
| 72 | { |