| 84 | } |
| 85 | |
| 86 | static constexpr StringView buildPlatformName(Platform::Type platform) |
| 87 | { |
| 88 | switch (platform) |
| 89 | { |
| 90 | case Platform::Apple: return "macOS"; |
| 91 | case Platform::Linux: return "linux"; |
| 92 | case Platform::Windows: return "windows"; |
| 93 | case Platform::Wasm: return "wasm"; |
| 94 | case Platform::Unknown: return "unknown"; |
| 95 | } |
| 96 | Assert::unreachable(); |
| 97 | } |
| 98 | |
| 99 | static constexpr Architecture::Type hostArchitecture() |
| 100 | { |
no outgoing calls
no test coverage detected